- Timestamp:
- 07/30/08 16:31:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
r9047 r9054 50 50 51 51 # get todo list 52 getdolist >> $scriptlog 2>&1 53 54 # retrieve dates from todofile 55 dates=(`cat $todofile`) 56 if [ "$dates" = "" ] 57 then 58 echo "nothing to do -> exit" >> $scriptlog 2>&1 59 finish >> $scriptlog 2>&1 60 fi 61 echo "dates: "${dates[@]} >> $scriptlog 2>&1 62 rm -v $todofile >> $scriptlog 2>&1 52 gettodo >> $scriptlog 2>&1 63 53 64 54 cd $mars 65 55 66 for date in ${dates[@]} 67 do 56 for (( s=0 ; s < $num ; s++ )) 57 do 58 date=${primaries[$s+$s]} 59 telnum=${primaries[$s+$s+1]} 68 60 echo "building sequence entries for date $date..." >> $scriptlog 2>&1 69 61 printprocesslog "INFO build sequence entries for $date" … … 73 65 buildsequentrieslog=$buildsequentriespath/buildsequenceentries-$date.log 74 66 75 primvar=$date76 67 setstatus "start" >> $scriptlog 2>&1 77 68 78 check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\, 1\,kFALSE\) | tee $buildsequentrieslog | intgrep`69 check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,$telnum\,kFALSE\) | tee $buildsequentrieslog | intgrep` 79 70 80 71 case $check1 in
Note:
See TracChangeset
for help on using the changeset viewer.