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

Legend:

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

    r7944 r7946  
    4040
    4141path=`dirname $0`
    42 date=`date +%Y/%m/%d`
    43 date2=`date +%Y-%m-%d`
    44 condordir=$logpath/condor/$date
    45 makedir $condordir >> $scriptlog 2>&1
     42date=`date +%Y-%m-%d`
    4643
    4744for i in $@
     
    5249   fi
    5350   echo " launching $i..." >> $scriptlog 2>&1
    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
     51   if ! pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$i -a date=$date -a dir=$runlogpath $path/run.condor | grep cluster | cut -dr -f2`  2>$errorlog
    5552   then
    5653      echo "condor is not working " >> $errorlog 2>&1
     
    6057   then
    6158      echo "  waiting for $i to be done..." >> $scriptlog 2>&1
    62       /usr/local/bin/condor_wait $condordir/condor-$date2.log $pid >/dev/null 2>$errorlog
     59      /usr/local/bin/condor_wait $runlogpath/condor-$date.log $pid >/dev/null 2>$errorlog
    6360   fi
    6461done
Note: See TracChangeset for help on using the changeset viewer.