Ignore:
Timestamp:
07/30/08 16:31:01 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/doexclusions

    r9047 r9054  
    5050
    5151# 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
     52gettodo  >> $scriptlog 2>&1
    6253
    6354cd $mars
    6455
    6556# do exclusions for each date in the todo file
    66 for date in ${dates[@]}
    67 do
     57for (( s=0 ; s < $num ; s++ ))
     58do
     59   date=${primaries[$s+$s]}
     60   telnum=${primaries[$s+$s+1]}
    6861   echo "do exclusions for date "$date >> $scriptlog 2>&1
    6962   printprocesslog "INFO do exclusions for $date"
     
    7366   doexclusionslog=$doexclusionspath/doexclusions-$date.log
    7467
    75    primvar=$date
    7668   setstatus "start" >> $scriptlog 2>&1
    7769
    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`
    7971
    8072   case $check1 in
Note: See TracChangeset for help on using the changeset viewer.