Changeset 9130 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 08/22/08 13:39:03 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
r9128 r9130 127 127 echo "For the following plots will be produced: "${all[@]} >> $scriptlog 2>&1 128 128 129 130 # rsync subsystemdata, sequence and dataset files131 echo "do rsync for subsystem files" >> $scriptlog 2>&1132 rsync -av --delete $subsystempath/ $webpath/subsystemdata >> $scriptlog 2>&1133 134 echo "do rsync for sequence files" >> $scriptlog 2>&1135 rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1136 137 echo "do rsync for dataset files" >> $scriptlog 2>&1138 rsync -av --delete $datasetpath/ $webpath/datasets >> $scriptlog 2>&1139 140 141 129 # using hour for lock => after 24 no new script is 142 130 # started in case the previous is still running … … 144 132 lockfile=$lockpath/${program}-${hour}h.txt 145 133 checklock >> $scriptlog 2>&1 134 135 # make sure that ./showplot is executed from the right directory 136 cd $mars 146 137 147 138 count=0 … … 282 273 if [ "$check" = "ok" ] 283 274 then 284 printprocesslog "INFO pro cduing plots (psfile and png) for $rootfile"275 printprocesslog "INFO producing plots (psfile and png) for $rootfile" 285 276 if ! ls $rootfile >/dev/null 2>&1 286 277 then … … 331 322 done 332 323 333 # rsync for complete directory delete removed sequences324 # rsync for complete directory (i.e. to delete removed sequences) 334 325 echo "do rsync for callisto, star and ganymed files" >> $scriptlog 2>&1 335 326 rsync -aLv --delete --exclude=*/*/20[01][0-9]*_[YI]_*[.]root --exclude=*/*.ps $datapath/{callisto,star,ganymed}/ $webpath/callisto >> $scriptlog 2>&1 336 327 328 # rsync subsystemdata, sequence and dataset files 329 echo "do rsync for subsystem files" >> $scriptlog 2>&1 330 rsync -av --delete $subsystempath/ $webpath/subsystemdata >> $scriptlog 2>&1 331 332 echo "do rsync for sequence files" >> $scriptlog 2>&1 333 rsync -av --delete $sequpath/ $webpath/sequences >> $scriptlog 2>&1 334 335 echo "do rsync for dataset files" >> $scriptlog 2>&1 336 rsync -av --delete $datasetpath/ $webpath/datasets >> $scriptlog 2>&1 337 338 337 339 lockfile=$lockpath/${program}-${hour}h.txt 338 340 finish >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
r9128 r9130 72 72 then 73 73 unset com[0] 74 arg s='-a args="'${com[@]}'"'74 arguments="${com[@]}" 75 75 fi 76 76 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>&178 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` 79 79 if [ "$pid" = "" ] 80 80 then
Note:
See TracChangeset
for help on using the changeset viewer.