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

 1 phil  1.1 #! /bin/csh -f
 2           
 3           echo $0 $*
 4           
 5           #set echo
 6           
 7           if ($?WORKFLOW_ROOT) then
 8             set WFCODE = $WORKFLOW_ROOT
 9             set WFDIR = $WORKFLOW_DATA
10           else
11             echo Need WORKFLOW_ROOT variable to be set.
12             exit 1
13           endif
14           
15           # Call with gatename(s)
16           
17           # set defaults and collect args
18           
19           set gate_name = "NOT_SPECIFIED"
20           
21           while ( $#argv > 0)
22 phil  1.1 	set gate_name = $1
23           	cd $WFDIR/gates/$gate_name
24           	echo "HOLD" > gatestatus
25           	echo $gate_name on hold
26           	shift
27           end #while
28           

Karen Tian
Powered by
ViewCVS 0.9.4