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

    r9036 r9054  
    5050
    5151# get todo list
    52 getdolist  >> $scriptlog 2>&1
    53 
    54 # retrieve sequences from todofile
    55 sequences=(`cat $todofile`)
    56 if [ "$sequences" = "" ]
    57 then
    58    echo "nothing to do -> exit"  >> $scriptlog 2>&1
    59    finish >> $scriptlog 2>&1
    60 fi
    61 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1
    62 rm -v $todofile >> $scriptlog 2>&1
     52gettodo  >> $scriptlog 2>&1
    6353
    6454cd $mars
    6555
    66 for sequence in ${sequences[@]}
    67 do
     56for (( s=0 ; s < $num ; s++ ))
     57do
     58   sequence=${primaries[$s+$s]}
     59   telnum=${primaries[$s+$s+1]}
    6860   echo "checking files for sequence $sequence..." >> $scriptlog 2>&1
    6961   printprocesslog "INFO checking files for sequence $sequence"
     
    7466   checkfileavaillog=$checkfileavailpath/$program-$no2.log
    7567
    76    primvar=$sequence
    7768   setstatus "start" >> $scriptlog 2>&1
    7869
    79    check1=`root -q -b $macrospath/checkfileavail.C+\($sequence,1\) | tee $checkfileavaillog | intgrep`
     70   check1=`root -q -b $macrospath/checkfileavail.C+\($sequence,$telnum\) | tee $checkfileavaillog | intgrep`
    8071
    8172   case $check1 in
Note: See TracChangeset for help on using the changeset viewer.