Ignore:
Timestamp:
08/22/06 16:38:31 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
1 added
2 edited

Legend:

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

    r7908 r7913  
    2525# ========================================================================
    2626#
    27 # This a resource file for the scripts, in which paths, times and number
    28 # of jobs for condor are stored.
     27# This a script, which launches other scripts (all scripts, that are run
     28# on primary basis
    2929#
    3030
     
    7676      gettodo
    7777
    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
    8281      makedir $condordir #>> $scriptlog 2>&1
    8382     
    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
    9084      then
    9185         date >> $errorlog
  • trunk/MagicSoft/Mars/datacenter/scripts/run.condor

    r7908 r7913  
    22Executable    = $(path)/$(prog)
    33Universe      = vanilla
    4 Log           = condor-$(y)-$(m)-$(d).log
    5 output        = log-$(y)-$(m)-$(d).log
    6 error         = error-$(y)-$(m)-$(d).log
     4Log           = condor-$(date).log
     5output        = log-$(date).log
     6error         = error-$(date).log
    77notification  = Error
    88
    9 Initialdir = /magic/datacenter/autologs/condor/$(y)/$(m)/$(d)
     9Initialdir = $(dir)
    1010
    1111Queue
Note: See TracChangeset for help on using the changeset viewer.