Changeset 9355 for trunk/MagicSoft/Mars/datacenter/scripts/runcamera
- Timestamp:
- 02/19/09 21:22:19 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcamera
r9174 r9355 63 63 64 64 65 scriptlog=$runlogpath/run$program-$datetime.log66 date >> $scriptlog 2>&167 68 65 # get sequence # 69 gettodo >> $scriptlog 2>&166 gettodo 70 67 run=$process 71 68 72 69 # lock sequ 73 70 lockfile=$lockpath/lock-$table-$column-$sequence.txt 74 checklock >> $scriptlog 2>&171 checklock 75 72 76 echo "run $program for run $run..." >> $scriptlog 2>&177 73 printprocesslog "INFO starting $program for run $run" 78 74 79 setstatus "start" >> $scriptlog 2>&175 setstatus "start" 80 76 81 echo "run $program for run $run " 82 echo "create input card... " 77 printprocesslog "INFO create input card... " 83 78 84 79 # get values for inputcard … … 100 95 seeds=`sendquery` 101 96 102 echo "" >> $scriptlog 2>&1103 echo "INPUTCARD:" >> $scriptlog 2>&1104 echo "----------" >> $scriptlog 2>&1105 echo "" >> $scriptlog 2>&1106 echo "" >> $scriptlog 2>&1107 printinputcard >> $scriptlog 2>&1108 109 97 logfile=$outpath/$program"-"`printf %06d $run`".log" 110 makedir $outpath >> $scriptlog 2>&198 makedir $outpath 111 99 112 100 cd $detectordir/Camera … … 121 109 122 110 case $check1 in 123 0) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1 124 printprocesslog "INFO $program finished successfully for sequence $sequence" 111 0) printprocesslog "INFO $program finished successfully for sequence $sequence (check1=$check1)" 125 112 ;; 126 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 127 printprocesslog "ERROR $program failed for sequence $sequence" 113 *) printprocesslog "ERROR $program failed for sequence $sequence (check1=$check1)" 128 114 com=$Fcamera 129 115 check=$check1 … … 131 117 esac 132 118 133 setstatus "stop" >> $scriptlog 2>&1119 setstatus "stop" 134 120 135 finish >> $scriptlog 2>&1121 finish 136 122
Note:
See TracChangeset
for help on using the changeset viewer.