Changeset 7944 for trunk/MagicSoft/Mars/datacenter/scripts/runganymed
- Timestamp:
- 08/25/06 22:09:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7938 r7944 37 37 # 38 38 39 source `dirname $0`/sourcefile 40 printprocesslog "INFO starting $0" 39 41 program=ganymed 40 source `dirname $0`/sourcefile 42 column=fGanymed 41 43 42 44 set -C 43 45 44 column=fGanymed 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 dataset $dataset..." >> $scriptlog 2>&1 60 printprocesslog "INFO starting $program for dataset $dataset" 63 61 no=`printf %08d $dataset | cut -c 0-5` 64 62 no2=`printf %08d $dataset` … … 86 84 87 85 case $check1 in 88 0) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1 ;; 86 0) echo " check1=$check1 -> everything ok " >> $scriptlog 2>&1 87 printprocesslog "INFO $program finished successfully for dataset $dataset" 88 ;; 89 89 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 90 printprocesslog "ERROR $program failed for dataset $dataset" 90 91 com=$Fganymed 91 92 check=$check1
Note:
See TracChangeset
for help on using the changeset viewer.