Changeset 9054 for trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
- Timestamp:
- 07/30/08 16:31:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
r8482 r9054 50 50 51 51 # get todo list 52 getdolist >> $scriptlog 2>&1 53 54 # retrieve datasets from todo file 55 datasets=(`cat $todofile`) 56 if [ "$datasets" = "" ] 57 then 58 echo "nothing to do -> exit" >> $scriptlog 2>&1 59 finish >> $scriptlog 2>&1 60 fi 61 echo "datasets: "${datasets[@]} >> $scriptlog 2>&1 62 rm -v $todofile >> $scriptlog 2>&1 52 gettodo >> $scriptlog 2>&1 63 53 64 54 cd $mars 65 55 66 56 # run fillganymed for datasets 67 for dataset in ${datasets[@]} 68 do 57 for (( s=0 ; s < $num ; s++ )) 58 do 59 dataset=${primaries[$s+$s]} 60 telnum=${primaries[$s+$s+1]} 69 61 printprocesslog "INFO starting $program for dataset $dataset" 70 62 no=`printf %08d $dataset | cut -c 0-5` … … 77 69 78 70 echo "run $program for dataset $dataset" >> $scriptlog 2>&1 79 primvar=$no280 71 setstatus "start" >> $scriptlog 2>&1 81 72
Note:
See TracChangeset
for help on using the changeset viewer.