Changeset 7913
- Timestamp:
- 08/22/06 16:38:31 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
r7908 r7913 25 25 # ======================================================================== 26 26 # 27 # This a resource file for the scripts, in which paths, times and number28 # o f jobs for condor are stored.27 # This a script, which launches other scripts (all scripts, that are run 28 # on primary basis 29 29 # 30 30 … … 76 76 gettodo 77 77 78 y=`date +%Y` 79 m=`date +%m` 80 d=`date +%d` 81 condordir=$logpath/condor/$y/$m/$d 78 date=`date +%Y/%m/%d` 79 date2=`date +%Y-%m-%d` 80 condordir=$logpath/condor/$date 82 81 makedir $condordir #>> $scriptlog 2>&1 83 82 84 # echo " ---> starting ${scripts[$i]} for $process" #>> $scriptlog 2>&1 85 86 #test 87 contex 88 #test 89 if ! /usr/local/bin/condor_submit -a path=$scriptspath -a prog=${scripts[$i]} -a y=$y -a m=$m -a d=$d $scriptspath/run.condor 2>$errorlog 83 if ! /usr/local/bin/condor_submit -a path=$scriptspath -a prog=${scripts[$i]} -a date=$date2 -a dir=$condordir $scriptspath/run.condor 2>$errorlog 90 84 then 91 85 date >> $errorlog -
trunk/MagicSoft/Mars/datacenter/scripts/run.condor
r7908 r7913 2 2 Executable = $(path)/$(prog) 3 3 Universe = vanilla 4 Log = condor-$( y)-$(m)-$(d).log5 output = log-$( y)-$(m)-$(d).log6 error = error-$( y)-$(m)-$(d).log4 Log = condor-$(date).log 5 output = log-$(date).log 6 error = error-$(date).log 7 7 notification = Error 8 8 9 Initialdir = /magic/datacenter/autologs/condor/$(y)/$(m)/$(d)9 Initialdir = $(dir) 10 10 11 11 Queue
Note:
See TracChangeset
for help on using the changeset viewer.