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

    r7936 r7944  
    1818#
    1919#
    20 #   Author(s): Daniela Dorner  05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
     20#   Author(s): Daniela Dorner  08/2006 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    2222#   Copyright: MAGIC Software Development, 2000-2006
     
    2929
    3030source `dirname $0`/sourcefile
     31printprocesslog "INFO starting $0 $@"
    3132
    3233makedir $listpath
    3334makedir $lockpath
    3435
    35 sllogpath=$logpath/scriptlauncher/`date +%Y/%m`
    36 makedir $sllogpath
    37 errorlog=$sllogpath/error`date +%F`.log
    38 scriptlog=$sllogpath/scriptlauncher`date +%F`.log
     36errorlog=$runlogpath/scriptlauncher-error`date +%F`.log
     37scriptlog=$runlogpath/scriptlauncher`date +%F`.log
    3938
    4039echo `date`": starting $0 $@"  >> $scriptlog 2>&1
     
    5352   fi
    5453   echo " launching $i..." >> $scriptlog 2>&1
    55    pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$i -a date=$date2 -a dir=$condordir $path/run.condor | grep cluster | cut -dr -f2`  2>$errorlog
     54   if ! pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$i -a date=$date2 -a dir=$condordir $path/run.condor | grep cluster | cut -dr -f2`  2>$errorlog
     55   then
     56      echo "condor is not working " >> $errorlog 2>&1
     57      printprocesslog "ERROR submitting $i to condor failed"
     58   fi
    5659   if ! echo $@ | grep "allatthesametime" >/dev/null 2>$errorlog
    5760   then
     
    6366echo "" >> $scriptlog 2>&1
    6467
     68printprocesslog "INFO finished $0 $@"
     69
Note: See TracChangeset for help on using the changeset viewer.