- Timestamp:
- 08/22/06 15:36:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7909 r7911 28 28 # the sequences. 29 29 # 30 # After checking, if the script is already running, the todolist is 31 # written 30 # After checking if the script is already running the todolist is written. 32 31 # Then for each sequence the availability of the files (raw, cc, caco) is 33 32 # checked by using the macro checkfilesavail.C … … 79 78 sequencefile=$sequpath/$no/sequence$no2.txt 80 79 81 echo "run $program..." >> $scriptlog 2>&182 80 setstatus "start" >> $scriptlog 2>&1 83 81 … … 85 83 86 84 case $check1 in 87 1) echo " check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 ;;88 2) echo " check1=$check1 -> files not yet available -> continue..." >> $scriptlog 2>&185 1) echo " check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 ;; 86 2) echo " check1=$check1 -> files not yet available -> continue..." >> $scriptlog 2>&1 89 87 check="no" 90 88 ;; 91 0) echo " check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&189 0) echo " check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1 92 90 check="no" 93 91 ;; … … 98 96 esac 99 97 100 echo "inserting the status for $program for sequence $sequence into the db" >> $scriptlog 2>&1101 98 setstatus "stop" >> $scriptlog 2>&1 102 99 done
Note:
See TracChangeset
for help on using the changeset viewer.