- Timestamp:
- 07/30/08 16:31:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/writedatasetfiles
r8482 r9054 49 49 50 50 # 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 51 gettodo >> $scriptlog 2>&1 61 52 62 53 cd $mars 63 54 64 for dataset in ${datasets[@]} 65 do 55 for (( s=0 ; s < $num ; s++ )) 56 do 57 dataset=${primaries[$s+$s]} 58 telnum=${primaries[$s+$s+1]} 66 59 echo "writing dataset file for dataset $dataset..." >> $scriptlog 2>&1 67 60 printprocesslog "INFO writing datasetfile for dataset $dataset" … … 74 67 logfile=$writedatasetfilelogpath/$program-$no2.log 75 68 76 primvar=$dataset77 69 setstatus "start" >> $scriptlog 2>&1 78 70
Note:
See TracChangeset
for help on using the changeset viewer.