Ignore:
Timestamp:
08/22/08 13:39:03 (16 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/dowebplots

    r9128 r9130  
    127127echo "For the following plots will be produced: "${all[@]} >> $scriptlog 2>&1
    128128
    129 
    130 # rsync subsystemdata, sequence and dataset files
    131 echo "do rsync for subsystem files" >> $scriptlog 2>&1
    132 rsync -av --delete $subsystempath/ $webpath/subsystemdata >> $scriptlog 2>&1
    133 
    134 echo "do rsync for sequence files" >> $scriptlog 2>&1
    135 rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1
    136 
    137 echo "do rsync for dataset files" >> $scriptlog 2>&1
    138 rsync -av --delete $datasetpath/ $webpath/datasets >> $scriptlog 2>&1
    139 
    140 
    141129# using hour for lock => after 24 no new script is
    142130#  started in case the previous is still running
     
    144132lockfile=$lockpath/${program}-${hour}h.txt
    145133checklock  >> $scriptlog 2>&1
     134
     135# make sure that ./showplot is executed from the right directory
     136cd $mars
    146137
    147138count=0
     
    282273   if [ "$check" = "ok" ]
    283274   then
    284       printprocesslog "INFO procduing plots (psfile and png) for $rootfile"
     275      printprocesslog "INFO producing plots (psfile and png) for $rootfile"
    285276      if ! ls $rootfile >/dev/null 2>&1
    286277      then
     
    331322done
    332323
    333 # rsync for complete directory delete removed sequences
     324# rsync for complete directory (i.e. to delete removed sequences)
    334325echo "do rsync for callisto, star and ganymed files" >> $scriptlog 2>&1
    335326rsync -aLv --delete --exclude=*/*/20[01][0-9]*_[YI]_*[.]root --exclude=*/*.ps $datapath/{callisto,star,ganymed}/ $webpath/callisto >> $scriptlog 2>&1
    336327
     328# rsync subsystemdata, sequence and dataset files
     329echo "do rsync for subsystem files" >> $scriptlog 2>&1
     330rsync -av --delete $subsystempath/ $webpath/subsystemdata >> $scriptlog 2>&1
     331
     332echo "do rsync for sequence files" >> $scriptlog 2>&1
     333rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1
     334
     335echo "do rsync for dataset files" >> $scriptlog 2>&1
     336rsync -av --delete $datasetpath/ $webpath/datasets >> $scriptlog 2>&1
     337
     338
    337339lockfile=$lockpath/${program}-${hour}h.txt
    338340finish >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher

    r9128 r9130  
    7272   then
    7373      unset com[0]
    74       args='-a args="'${com[@]}'"'
     74      arguments="${com[@]}"
    7575   fi
    7676   echo " launching $1..." >> $scriptlog 2>&1
    77    echo "/usr/local/bin/condor_submit -a path=$path -a prog=$prog $args -a date=$date -a dir=$runlogpath $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2" >> $scriptlog 2>&1
    78    pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$prog $args -a date=$date -a dir=$runlogpath $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2`
     77   echo "/usr/local/bin/condor_submit -a path=$path -a prog=$prog -a args=\"$arguments\" -a date=$date -a dir=$runlogpath $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2" >> $scriptlog 2>&1
     78   pid=`/usr/local/bin/condor_submit -a path=$path -a prog=$prog -a args="$arguments" -a date=$date -a dir=$runlogpath $path/run.condor 2>> $errorlog | grep 'submitted to cluster' | cut -dr -f2`
    7979   if [ "$pid" = "" ]
    8080   then
Note: See TracChangeset for help on using the changeset viewer.