Changeset 7460 for trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
- Timestamp:
- 01/10/06 22:12:58 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/doqualityplots
r7407 r7460 20 20 # Author(s): Daniela Dorner 08/2005 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 422 # Copyright: MAGIC Software Development, 2000-2006 23 23 # 24 24 # 25 25 # ======================================================================== 26 26 # 27 # This script produces the qualityplots in the web by executing the macro 28 # plotdb.C 29 # 30 # After checking, if the script is already running, the plots are produced 31 # (ps and root file). Then they are moved to the webdirectory and there png 32 # files are produced from the ps file. 27 33 # 28 34 … … 43 49 date >> $scriptlog 2>&1 44 50 51 # check if script is already running 45 52 lockfile=$lockpath/lock-doqualityplots.txt 46 53 date > $lockfile >> $scriptlog 2>&1 … … 55 62 esac 56 63 57 64 # producing the plots with the values from the database 58 65 echo "producing plots: " >> $scriptlog 2>&1 59 66 check0=`root -q -b $macrospath/plotdb.C+\(\) | tee -a $scriptlog | grep int | sed -e 's/.*(int)//'` … … 66 73 esac 67 74 68 75 # making files available in the web 69 76 webpath=/www/htdocs/datacenter/datacheck 70 77 name=plotdb … … 74 81 mv -v $name.{root,ps} $webpath >> $scriptlog 2>&1 75 82 76 echo " moving files: " >> $scriptlog 2>&183 echo "producing png files: " >> $scriptlog 2>&1 77 84 pstoimg -antialias -flip r270 -density 100 -type png -multipage $psfile >> $scriptlog 2>&1 78 85
Note:
See TracChangeset
for help on using the changeset viewer.