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