Changeset 14757


Ignore:
Timestamp:
12/17/12 21:54:26 (12 years ago)
Author:
Daniela Dorner
Message:
inverted order of dates (change from months ago)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/ZipRawData.sh

    r13863 r14757  
    1616        )
    1717
     18# get last 3, 6 or 9 nights
     19dates=(
     20        `date +%Y/%m/%d --date="-204hour"`  `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-156hour"` \
     21        `date +%Y/%m/%d --date="-132hour"`  `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-84hour"`  \
     22        `date +%Y/%m/%d --date="-60hour"`   `date +%Y/%m/%d --date="-36hour"`  `date +%Y/%m/%d --date="-12hour"`  \
     23        )
     24
    1825# time rawfile is untouched before further processing (i.e. adding checksum and zipping)
    1926delaytime=30 #30 minutes
     
    2936   echo `date`": processing files in "$rawdir >> $logfile 2>&1
    3037   printprocesslog "INFO processing files in "$rawdir
     38   #echo "INFO processing files in "$rawdir
    3139   # check if data are available from that night
    3240   if ! [ -d $rawdir ]
     
    114122      echo `date`": zipping "$file" to "$zipfile" ..." >> $logfile 2>&1
    115123      printprocesslog "INFO zipping "$file" to "$zipfile" ..."
     124      #echo "INFO zipping "$file" to "$zipfile" ..."
    116125      # zip file to stdout and pipe it to outputfile
    117126      if pigz -1 -c -f $file > $zipfiletmp
Note: See TracChangeset for help on using the changeset viewer.