Changeset 7471 for trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
- Timestamp:
- 02/01/06 18:04:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
r7465 r7471 104 104 no=`printf %08d $dataset | cut -c 0-5` 105 105 no2=`printf %08d $dataset` 106 var1=$no 107 var2=$no2 106 108 path="$datapath/ganymed/$no/$no2" 107 109 ganymedfile=$path/ganymed$no2.root … … 112 114 113 115 echo "run $program for dataset $dataset" >> $scriptlog 2>&1 116 setstatus "start" >> $scriptlog 2>&1 117 114 118 check2=`root -q -b $macrospath/fillganymed.C+\("\"$ganymedfile\""\,kFALSE\) | tee $fillganymedlog | grep int | sed -e 's/(int)//'` 115 119 case $check2 in 116 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 117 echo "-> inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1 118 statustime="Now()" 119 failed="NULL" 120 starttime="NULL" 121 failedtime="NULL" 122 var1=$no 123 var2=$no2 124 setstatus 125 ;; 126 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 120 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;; 121 *) echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 122 com="fillganymed for dataset $dataset failed" 123 check=$check2 124 ;; 127 125 esac 126 echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1 127 setstatus "stop" >> scriptlog 2>&1 128 128 done 129 129
Note:
See TracChangeset
for help on using the changeset viewer.