Changeset 17110 for trunk/DataCheck/QuickLook
- Timestamp:
- 09/06/13 18:05:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/Step3.sh
r17109 r17110 4 4 printprocesslog "INFO starting $0 $1" 5 5 6 #root=/opt/root_svn/bin/thisroot.sh7 #source $root8 #factpath=/home/fact/FACT++.in-run-fad-loss9 6 export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH 10 7 11 mars=/home/fact/SW.automatic.processing/Mars.svn.2013.04.2912 8 cd $mars 13 9 … … 41 37 fi 42 38 43 # get current hour 44 hour=`date +%k` 45 if [ $hour -le 7 ] || [ $hour -ge 19]39 40 # get dates 41 if [ "$certaindate" != "" ] 46 42 then 47 dates=( `date +%Y/%m/%d --date="-12hour"` )43 getdates $certaindate 48 44 else 49 # get last 3, 6 or 9 nights 50 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` \ 51 # `date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \ 52 # `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \ 53 ) 54 fi 55 #dates=( `find -L $auxdata -mindepth 3 -type d | sort -r | sed "s/\${auxdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw 56 57 #dates=( "2013/08/31" ) 58 59 # source info on daq in /loc_data/analysis/sources.txt 60 # (dump of DB scheduling.sources) 61 45 # get all night 46 #getdates "all" 47 # get last 6 nights if hour between 7 and 19h, else only current night 48 getdates 6 7 19 49 fi 62 50 63 51 #echo ${dates[@]}
Note:
See TracChangeset
for help on using the changeset viewer.