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/runstar

    r7938 r7944  
    3737#
    3838
     39source `dirname $0`/sourcefile
     40printprocesslog "INFO starting $0"
    3941program=star
    40 source `dirname $0`/sourcefile
     42column=fStar
    4143
    4244set -C
    4345
    44 column=fStar
    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 sequence $sequence..." >> $scriptlog 2>&1
     60printprocesslog "INFO starting $program for sequence $sequence"
    6361no=`printf %08d $sequence | cut -c 0-4`
    6462no2=`printf %08d $sequence`
     
    7775
    7876case $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        ;;
    8080   *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
     81        printprocesslog "ERROR $program failed for sequence $sequence"
    8182        com=$Fstar
    8283        check=$check1
Note: See TracChangeset for help on using the changeset viewer.