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

    r8482 r9054  
    4949
    5050# get todo list
    51 getdolist  >> $scriptlog 2>&1
    52 
    53 datasets=(`cat $todofile`)
    54 if [ "$datasets" = "" ]
    55 then
    56    echo "nothing to do -> exit"  >> $scriptlog 2>&1
    57    finish >> $scriptlog 2>&1
    58 fi
    59 echo "datasets: "${datasets[@]} >> $scriptlog 2>&1
    60 rm -v $todofile >> $scriptlog 2>&1
     51gettodo  >> $scriptlog 2>&1
    6152
    6253cd $mars
    6354
    64 for dataset in ${datasets[@]}
    65 do
     55for (( s=0 ; s < $num ; s++ ))
     56do
     57   dataset=${primaries[$s+$s]}
     58   telnum=${primaries[$s+$s+1]}
    6659   echo "writing dataset file for dataset $dataset..." >> $scriptlog 2>&1
    6760   printprocesslog "INFO writing datasetfile for dataset $dataset"
     
    7467   logfile=$writedatasetfilelogpath/$program-$no2.log
    7568
    76    primvar=$dataset
    7769   setstatus "start" >> $scriptlog 2>&1
    7870   
Note: See TracChangeset for help on using the changeset viewer.