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/buildsequenceentries

    r9047 r9054  
    5050
    5151# 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
     52gettodo  >> $scriptlog 2>&1
    6353
    6454cd $mars
    6555
    66 for date in ${dates[@]}
    67 do
     56for (( s=0 ; s < $num ; s++ ))
     57do
     58   date=${primaries[$s+$s]}
     59   telnum=${primaries[$s+$s+1]}
    6860   echo "building sequence entries for date $date..." >> $scriptlog 2>&1
    6961   printprocesslog "INFO build sequence entries for $date"
     
    7365   buildsequentrieslog=$buildsequentriespath/buildsequenceentries-$date.log
    7466
    75    primvar=$date
    7667   setstatus "start" >> $scriptlog 2>&1
    7768
    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`
    7970
    8071   case $check1 in
Note: See TracChangeset for help on using the changeset viewer.