Ignore:
Timestamp:
03/01/12 11:41:21 (13 years ago)
Author:
Daniela Dorner
Message:
unified method to get dates to be processed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/FillAuxData.sh

    r12979 r12980  
    9393
    9494
    95 # get last 2 nights
    96 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` )
     95# get last 3 nights
     96dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` )
    9797#dates=( `find $ziprawdata -mindepth 3 -type d | sort | sed "s/\${ziprawdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw
    98 #echo ${dates[@]}
    99 #dates=( "2012/02/21" "2012/02/20" "2012/02/19" "2012/02/18" )
    10098printprocesslog "INFO processing the following night(s): "${dates[@]}
    10199echo  `date`": processing the following night(s): "${dates[@]} >> $logfile 2>&1
Note: See TracChangeset for help on using the changeset viewer.