Changeset 14757
- Timestamp:
- 12/17/12 21:54:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/ZipRawData.sh
r13863 r14757 16 16 ) 17 17 18 # get last 3, 6 or 9 nights 19 dates=( 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 18 25 # time rawfile is untouched before further processing (i.e. adding checksum and zipping) 19 26 delaytime=30 #30 minutes … … 29 36 echo `date`": processing files in "$rawdir >> $logfile 2>&1 30 37 printprocesslog "INFO processing files in "$rawdir 38 #echo "INFO processing files in "$rawdir 31 39 # check if data are available from that night 32 40 if ! [ -d $rawdir ] … … 114 122 echo `date`": zipping "$file" to "$zipfile" ..." >> $logfile 2>&1 115 123 printprocesslog "INFO zipping "$file" to "$zipfile" ..." 124 #echo "INFO zipping "$file" to "$zipfile" ..." 116 125 # zip file to stdout and pipe it to outputfile 117 126 if pigz -1 -c -f $file > $zipfiletmp
Note:
See TracChangeset
for help on using the changeset viewer.