Changeset 7944 for trunk/MagicSoft/Mars/datacenter/scripts/runstar
- Timestamp:
- 08/25/06 22:09:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7938 r7944 37 37 # 38 38 39 source `dirname $0`/sourcefile 40 printprocesslog "INFO starting $0" 39 41 program=star 40 source `dirname $0`/sourcefile 42 column=fStar 41 43 42 44 set -C 43 45 44 column=fStar 45 46 scriptlogpath=$runlogpath/$program 47 makedir $scriptlogpath 48 scriptlog=$scriptlogpath/run$program-$datetime.log 49 46 scriptlog=$runlogpath/run$program-$datetime.log 50 47 date >> $scriptlog 2>&1 51 48 … … 61 58 62 59 echo "run $program for sequence $sequence..." >> $scriptlog 2>&1 60 printprocesslog "INFO starting $program for sequence $sequence" 63 61 no=`printf %08d $sequence | cut -c 0-4` 64 62 no2=`printf %08d $sequence` … … 77 75 78 76 case $check1 in 79 0) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1;; 77 0) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1 78 printprocesslog "INFO $program finished successfully for sequence $sequence" 79 ;; 80 80 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 81 printprocesslog "ERROR $program failed for sequence $sequence" 81 82 com=$Fstar 82 83 check=$check1
Note:
See TracChangeset
for help on using the changeset viewer.