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

File: [Development] / JSOC / proj / workflow / enablegate.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

echo $0 $*

#set echo

if ($?WORKFLOW_DATA) then
  echo Need WORKFLOW_DATA variable to be set.
  exit 1

# Call with gatename(s)

# set defaults and collect args

set gate_name = "NOT_SPECIFIED"

while ( $#argv > 0)
	set gate_name = $1
	cd $WFDIR/gates/$gate_name
	echo "ACTIVE" > gatestatus
	echo $gate_name enabled
end #while

Karen Tian
Powered by
ViewCVS 0.9.4