Ignore:
Timestamp:
08/25/06 22:51:50 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
3 edited

Legend:

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

    r7944 r7946  
    107107      fi
    108108
    109       date=`date +%Y/%m/%d`
    110       date2=`date +%Y-%m-%d`
    111       condordir=$logpath/condor/$date
    112       makedir $condordir >> $jmscriptlog 2>&1
    113      
     109      date=`date +%Y-%m-%d`
    114110      echo " committing 1 ${scripts[$i]} to condor" >> $jmscriptlog 2>&1
    115       if ! /usr/local/bin/condor_submit -a path=$scriptspath -a prog=${scripts[$i]} -a date=$date2 -a dir=$condordir $scriptspath/run.condor 2>> $jmerrorlog
     111      if ! /usr/local/bin/condor_submit -a path=$scriptspath -a prog=${scripts[$i]} -a date=$date -a dir=$runlogpath $scriptspath/run.condor 2>> $jmerrorlog
    116112      then
    117113         date >> $jmerrorlog
  • 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
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7945 r7946  
    4040
    4141runlogpath=$logpath/run/`date +%Y/%m/%d`
    42 processlog=$logpath/processlog/process`date +%F`.log
     42processlogpath=$logpath/process/
    4343
    4444datetime=`date +%F-%H-%M-%S`
     
    127127makedir $runlogpath
    128128makedir $processlogpath
    129 
     129processlog=$logpath/processlog/process`date +%F`.log
    130130
    131131function printprocesslog
Note: See TracChangeset for help on using the changeset viewer.