Changeset 7471 for trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
- Timestamp:
- 02/01/06 18:04:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/dodatacheck
r7465 r7471 143 143 for run in ${runs[@]} 144 144 do 145 date146 145 echo "do $program for run "$run >> $scriptlog 2>&1 147 146 no=`printf %08d $run | cut -c 0-2` 148 147 no2=`printf %08d $run` 148 var1=$date 149 var2=$no2 149 150 rawfile=`find /magic/data/rawfiles/ -name *${run}_[D,P,C,S]_*_E.raw` 150 151 echo "rawfile: "$rawfile >> $scriptlog 2>&1 … … 161 162 162 163 echo "doing filldotraw..." >> $scriptlog 2>&1 164 setstatus "start" >> $scriptlog 2>&1 165 163 166 check1=`root -q -b $macrospath/filldotraw.C+\("\"$rawfile\""\,kFALSE\) | tee $filldotrawlogfile | grep int | sed -e 's/.*(int)//'` 164 167 … … 167 170 ;; 168 171 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 169 continue;; 172 com="filldotraw for run $run failed" 173 check=$check1 174 setstatus "stop" >> $scriptlog 2>&1 175 continue ;; 170 176 esac 171 177 … … 189 195 ;; 190 196 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 197 com="sinope for run $run failed" 198 check=$check2 199 setstatus "stop" >> $scriptlog 2>&1 191 200 continue 2;; 192 201 esac … … 206 215 ;; 207 216 *) echo "check3=$check3 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 217 com="fillsinope for run $run failed" 218 check=$check3 219 setstatus "stop" >> $scriptlog 2>&1 208 220 continue;; 209 221 esac … … 222 234 ;; 223 235 *) echo "check5=$check5 -> ERROR -> step could not be resetted -> repeat step " >> $scriptlog 2>&1 236 com="reset status for fExclusionsDone for date $date2 failed" 237 check=$check5 238 setstatus "stop" >> $scriptlog 2>&1 224 239 continue;; 225 240 esac
Note:
See TracChangeset
for help on using the changeset viewer.