(file) Return to check_all_gates.csh CVS log (file) (dir) Up to [Development] / JSOC / proj / workflow

File: [Development] / JSOC / proj / workflow / check_all_gates.csh (download) / (as text)
Revision: 1.1, Sun Jan 2 22:14:11 2011 UTC (11 years, 11 months ago) by phil
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, Ver_5-13, HEAD
Initial commit, copied from ~phil/workflow

# /bin/csh -f

if ($?WORKFLOW_ROOT) then
  set WFDIR = $WORKFLOW_DATA
  set WFCODE = $WORKFLOW_ROOT
else
  echo Need WORKFLOW_ROOT variable to be set.
  exit 1
endif

cd $WFDIR/gates

foreach gate ( * )
  echo " "
  cd $WFDIR/gates/$gate
  set gs = `cat gatestatus`
  echo $gate ", gatestatus=$gs"
  if ($gs == 'HOLD') continue
  echo -n product= ; cat product
  echo -n low= ; cat low
  echo -n high= ; cat high
  echo -n nextupdate= ; cat nextupdate
  echo -n lastupdate= ; cat lastupdate
  if (-e statusbusy) echo warning -- statusbusy
end

Karen Tian
Powered by
ViewCVS 0.9.4