Ignore:
Timestamp:
08/25/06 22:09:49 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r7938 r7944  
    3737#
    3838
     39source `dirname $0`/sourcefile
     40printprocesslog "INFO starting $0"
    3941program=ganymed
    40 source `dirname $0`/sourcefile
     42column=fGanymed
    4143
    4244set -C
    4345
    44 column=fGanymed
    45 
    46 scriptlogpath=$runlogpath/$program
    47 makedir $scriptlogpath
    48 scriptlog=$scriptlogpath/run$program-$datetime.log
    49 
     46scriptlog=$runlogpath/run$program-$datetime.log
    5047date >> $scriptlog 2>&1
    5148
     
    6158
    6259echo "run $program for dataset $dataset..." >> $scriptlog 2>&1
     60printprocesslog "INFO starting $program for dataset $dataset"
    6361no=`printf %08d $dataset | cut -c 0-5`
    6462no2=`printf %08d $dataset`
     
    8684
    8785case $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        ;;
    8989   *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     90        printprocesslog "ERROR $program failed for dataset $dataset"
    9091        com=$Fganymed
    9192        check=$check1
Note: See TracChangeset for help on using the changeset viewer.