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