Ignore:
Timestamp:
04/27/07 17:35:24 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
2 edited

Legend:

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

    r8177 r8461  
    8282      if echo $q | egrep \(Error\|failed\)
    8383      then
    84          echo "WARN condor_q failed" >> $jmscriptlog 2>&1
     84         echo `date`" WARN condor_q failed" >> $jmscriptlog 2>&1
    8585         printprocesslog "WARN condor_q failed"
    86          echo `date`"ERROR condor_q failed" >> $jmerrorlog
     86         echo `date`" WARN condor_q failed" >> $jmerrorlog
    8787         cont >> $jmscriptlog 2>&1
    8888      fi
     
    139139      if ! /usr/local/bin/condor_submit -a path=$scriptspath -a prog=${scripts[$i]} -a date=$date -a dir=$runlogpath $scriptspath/run.condor 2>> $jmerrorlog
    140140      then
    141          echo `date`"ERROR condor_submit failed" >> $jmerrorlog
     141         echo `date`" WARN condor_submit failed" >> $jmerrorlog
    142142         echo "condor is not working -> sleeping $errorsleeptime" >> $jmscriptlog 2>&1
    143143         printprocesslog "WARN submitting ${scripts[$i]} to condor failed"
  • trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher

    r7946 r8461  
    4949   fi
    5050   echo " launching $i..." >> $scriptlog 2>&1
    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
     51   pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$i -a date=$date -a dir=$runlogpath $path/run.condor >> $errorlog | grep 'submitted to cluster' | cut -dr -f2`
     52   if [ "$pid" = "" ]
    5253   then
    53       echo "condor is not working " >> $errorlog 2>&1
    54       printprocesslog "ERROR submitting $i to condor failed"
     54      echo `date`" WARN condor is not working " >> $errorlog 2>&1
     55      printprocesslog "WARN submitting $i to condor failed"
    5556   fi
    5657   if ! echo $@ | grep "allatthesametime" >/dev/null 2>$errorlog
Note: See TracChangeset for help on using the changeset viewer.