Changeset 7562 for trunk/MagicSoft/Mars
- Timestamp:
- 03/02/06 17:51:59 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7561 r7562 47 47 - fixed small bug 48 48 49 * datacenter/db/dowebplots: 50 - added option -p to the script, to be able to call the script for 51 different programs independently 52 - fixed find 53 49 54 50 55 -
trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
r7486 r7562 54 54 checklock >> $scriptlog 2>&1 55 55 56 57 while getopts p: opts 58 do 59 case $opts in 60 p) type=$OPTARG 61 echo "got programname: $type" >> $scriptlog 2>&1 62 ;; 63 ?) echo "usage: $(basename $0) -p programname" >> $scriptlog 2>&1 64 ;; 65 esac 66 done 67 68 if [ "$type" = "" ] 69 then 70 echo "no program name given -> exit" >> $scriptlog 2>&1 71 echo "usage: $(basename $0) -p programname" >> $scriptlog 2>&1 72 rm -v $lockfile >> $scriptlog 2>&1 73 date >> $scriptlog 2>&1 74 exit 75 fi 76 77 56 78 #finding all rootfiles in the webdirectory 57 79 #this are all statusdisplays 58 rootfiles=`find $webdir/ {sinope,callisto,star,ganymed}/ -name '*.root' -maxdepth 10 | grep -v '_I_' | grep -v '_Y_' | grep -v 'subsystemdata' | grep -v 'star_lapalma'`80 rootfiles=`find $webdir/$type/ -maxdepth 10 -name '*.root' | grep -v '_I_' | grep -v '_Y_' | grep -v 'subsystemdata' | grep -v 'star_lapalma' | grep -v 'summary'` 59 81 60 82 #exit if no rootfiles are found … … 66 88 exit 67 89 fi 90 68 91 69 92 #produce plots for each rootfile … … 115 138 116 139 #find all directories with plots 117 dirs=`find $webdir/ {star,callisto,ganymed,sinope}/* -type d | grep -v merpplogs`140 dirs=`find $webdir/$type/* -type d | grep -v merpplogs` 118 141 119 142 for dir in ${dir[@]}
Note:
See TracChangeset
for help on using the changeset viewer.