Changeset 14837 for trunk/DataCheck/Processing
- Timestamp:
- 02/04/13 05:57:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillAuxData.sh
r14828 r14837 59 59 median=`cat $tmpfile | grep 'median' | grep -E -o '[-]?[0-9]+[.]?[0-9]*'` 60 60 max=`cat $tmpfile | grep 'max' | grep -E -o '[-]?[0-9]+[.]?[0-9]*'` 61 sigma=`cat $tmpfile | grep 'sigma' | grep -E -o '[-]?[0-9]+[.]?[0-9]*'` 61 62 if [ "$good" = "" ] 62 63 then … … 86 87 # get last 3, 6 or 9 nights 87 88 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` \ 88 #`date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \89 `date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \ 89 90 # `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \ 90 91 ) … … 363 364 # add where condition 364 365 query=$query" WHERE fNight="$runnumber" AND fRunID="$filenum 365 366 366 367 # send query to DB 367 368 sendquery >/dev/null
Note:
See TracChangeset
for help on using the changeset viewer.