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