Changeset 9173 for trunk/MagicSoft/Mars/datacenter/scripts/runreflector
- Timestamp:
- 11/18/08 12:13:38 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runreflector
r9129 r9173 20 20 # Author(s): Daniela Dorner 05/2007 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 722 # Copyright: MAGIC Software Development, 2000-2008 23 23 # 24 24 # … … 64 64 65 65 # get sequence # 66 gettodo >> $scriptlog 2>&167 run=$ process66 gettodo "1">> $scriptlog 2>&1 67 run=${primaries[0]} 68 68 # get reflector runnumber 69 69 query="SELECT fReflectorRunNumber FROM MCRunData where fMCRunNumber="$run … … 116 116 cd $detectordir/ReflectorII 117 117 118 echo "INPUTCARD:" > >$logfile 2>&1118 echo "INPUTCARD:" >| $logfile 2>&1 119 119 printinputcard >> $logfile 2>&1 120 120 echo "" >> $logfile 2>&1 121 121 echo "" >> $logfile 2>&1 122 printinputcard | ./reflector 122 printinputcard | ./reflector >> $logfile 2>&1 123 123 124 124 check1=$? … … 127 127 128 128 case $check1 in 129 22) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1130 printprocesslog "INFO $program finished successfully for sequence $sequence"131 132 133 printprocesslog "ERROR $program failed for sequence $sequence"134 135 136 129 0) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1 130 printprocesslog "INFO $program finished successfully for run $reflectorrunno" 131 ;; 132 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 133 printprocesslog "ERROR $program failed for run $reflectorrunno" 134 com=$Freflector 135 check=$check1 136 ;; 137 137 esac 138 138
Note:
See TracChangeset
for help on using the changeset viewer.