Changeset 17589 for trunk/DataCheck
- Timestamp:
- 03/02/14 00:27:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/DataCheck/PlotQuality.sh
r17522 r17589 3 3 source `dirname $0`/../Sourcefile.sh 4 4 printprocesslog "INFO starting $0 $1" 5 6 # get current hour7 hour=`date +%k`8 5 9 6 # get dates … … 29 26 for date in ${dates[@]} 30 27 do 28 #echo $date 31 29 outpath=$anapath/quality/$date 32 30 logfile=$anapath/quality/$date/quality.log … … 36 34 day=`echo $date | cut -d/ -f3 | sed -e 's/^0//g'` 37 35 printprocesslog "DEBUG root -q -b fact/plots/quality.C\("$year"\,"$month"\,"$day"\,\""$outpath"\"\) | tee $logfile | intgrep" 38 check1=`root -q -b fact/plots/quality.C\($year\,$month\,$day\,\""$outpath"\"\) | tee $logfile | intgrep`36 check1=`root -q -b fact/plots/quality.C\($year\,$month\,$day\,\""$outpath"\"\) 2>&1 | tee $logfile | intgrep` 39 37 40 38 case $check1 in … … 46 44 47 45 printprocesslog "INFO rsync output to gate." 48 rsync -av $anapath/quality/ gate:/home/factwww/quality 46 if ! rsync -av $anapath/quality/ gate:/home/factwww/quality >> $logfile 2>&1 47 then 48 printprocesslog "ERROR rsync to gate failed." 49 echo `date +%F\ %T`" ERROR rsync to gate failed." 50 fi 49 51 done 50 52
Note:
See TracChangeset
for help on using the changeset viewer.