Changeset 7946 for trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
- Timestamp:
- 08/25/06 22:51:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
r7944 r7946 40 40 41 41 path=`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 42 date=`date +%Y-%m-%d` 46 43 47 44 for i in $@ … … 52 49 fi 53 50 echo " launching $i..." >> $scriptlog 2>&1 54 if ! pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$i -a date=$date 2 -a dir=$condordir$path/run.condor | grep cluster | cut -dr -f2` 2>$errorlog51 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 55 52 then 56 53 echo "condor is not working " >> $errorlog 2>&1 … … 60 57 then 61 58 echo " waiting for $i to be done..." >> $scriptlog 2>&1 62 /usr/local/bin/condor_wait $ condordir/condor-$date2.log $pid >/dev/null 2>$errorlog59 /usr/local/bin/condor_wait $runlogpath/condor-$date.log $pid >/dev/null 2>$errorlog 63 60 fi 64 61 done
Note:
See TracChangeset
for help on using the changeset viewer.