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

    r8482 r9054  
    5151
    5252# get todo file
    53 getdolist  >> $scriptlog 2>&1
    54 
    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
     53gettodo  >> $scriptlog 2>&1
    6354
    6455cd $mars
    6556
    6657# fill information into the database for all sequences in the todo file
    67 for sequence in ${sequences[@]}
    68 do
     58for (( s=0 ; s < $num ; s++ ))
     59do
     60   sequence=${primaries[$s+$s]}
     61   telnum=${primaries[$s+$s+1]}
    6962   printprocesslog "INFO starting $program for sequence $sequence"
    7063   no=`printf %08d $sequence | cut -c 0-4`
     
    7972
    8073   echo "run $program for sequence $sequence" >> $scriptlog 2>&1
    81    primvar=$no2
    8274   setstatus "start" >> $scriptlog 2>&1
    8375   echo "run fillcalib..." >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.