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