Changeset 7471 for trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
- Timestamp:
- 02/01/06 18:04:43 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
r7465 r7471 103 103 echo "do exclusions for date "$date >> $scriptlog 2>&1 104 104 year2=`echo $date | cut -c 1-4` 105 var1=$year2 106 var2=$date 105 107 doexclusionspath=$logpath/$program/$year2 106 108 makedir $doexclusionspath >> $scriptlog 2>&1 109 110 echo "run $program..." >> $scriptlog 2>&1 111 setstatus "start" >> $scriptlog 2>&1 107 112 108 113 check1=`root -q -b $macrospath/doexclusions.C+\("\"$date\""\) | tee $doexclusionspath/doexclusions-$date.log | grep int | sed -e 's/(int)//'` 109 114 110 115 case $check1 in 111 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 112 statustime="Now()" 113 failed="NULL" 114 starttime="NULL" 115 failedtime="NULL" 116 var1=$year2 117 var2=$date 118 setstatus 119 ;; 116 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 ;; 120 117 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;; 118 com="doing exclusions for date $date failed" 119 check=$check1 120 ;; 121 121 esac 122 echo "inserting the status for $program for date $date into the db" >> $scriptlog 2>&1 123 setstatus "stop" >> $scriptlog 2>&1 122 124 done 123 125
Note:
See TracChangeset
for help on using the changeset viewer.