Changeset 7471 for trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
- Timestamp:
- 02/01/06 18:04:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r7465 r7471 100 100 do 101 101 no=`printf %08d $dataset | cut -c 0-5` 102 var1=$no 103 var2=$dataset 102 104 echo "checking files for dataset $dataset..." >> $scriptlog 2>&1 103 105 datasetfile=$datasetpath/$no/dataset`printf %08d $dataset`.txt … … 117 119 makedir $outpath >> $scriptlog 2>&1 118 120 121 echo "run $program..." >> $scriptlog 2>&1 122 setstatus "start" >> $scriptlog 2>&1 123 119 124 for sequence in ${sequences[@]} 120 125 do 126 121 127 check1=`root -q -b $macrospath/checkstardone.C+\(\""$sequence\""\) | tee $outpath/checkstardone-$sequence.log | grep int | sed -e 's/(int)//'` 122 128 … … 125 131 *) echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1 126 132 echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1 127 continue 2 133 com="starfile missing for sequence $sequence" 134 check=$check1 135 break 128 136 ;; 129 137 esac 130 138 done 131 139 132 statustime="Now()" 133 failed="NULL" 134 starttime="NULL" 135 failedtime="NULL" 136 var1=$no 137 var2=$dataset 138 setstatus 140 echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1 141 setstatus "stop" >> $scriptlog 2>&1 139 142 done 140 143
Note:
See TracChangeset
for help on using the changeset viewer.