Ignore:
Timestamp:
08/25/06 13:40:49 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7922 r7936  
    3838scriptlog=$sllogpath/scriptlauncher`date +%F`.log
    3939
    40 date  >> $scriptlog 2>&1
     40echo `date`": starting $0 $@"  >> $scriptlog 2>&1
    4141
    4242path=`dirname $0`
     
    4444date2=`date +%Y-%m-%d`
    4545condordir=$logpath/condor/$date
    46 makedir $condordir
     46makedir $condordir >> $scriptlog 2>&1
    4747
    4848for i in $@
     
    5252      continue
    5353   fi
    54    echo "launching $i..." >> $scriptlog 2>&1
     54   echo " launching $i..." >> $scriptlog 2>&1
    5555   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
    5656   if ! echo $@ | grep "allatthesametime" >/dev/null 2>$errorlog
    5757   then
    58       echo " waiting for $i to be done..." >> $scriptlog 2>&1
     58      echo "  waiting for $i to be done..." >> $scriptlog 2>&1
    5959      /usr/local/bin/condor_wait $condordir/condor-$date2.log $pid >/dev/null 2>$errorlog
    6060   fi
    6161done
    6262echo `date`": all done/submitted." >> $scriptlog 2>&1
     63echo "" >> $scriptlog 2>&1
    6364
Note: See TracChangeset for help on using the changeset viewer.