Changeset 18699
- Timestamp:
- 12/20/16 15:30:17 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckRawFilesAvail.sh
r17580 r18699 25 25 currentnight=`date +%Y%m%d` 26 26 checknight=`echo " $currentnight - $transferdelay " | bc -l` 27 # work around for 100 missing old files to avoid warnings every hour 28 checknight2=`echo " $currentnight - 365 - $transferdelay " | bc -l` 27 29 28 30 setstatus "start" … … 80 82 check=$check2 81 83 ;; 82 *) # print warning only for files which are older than $transferdelay days 83 if [ $night -lt $checknight ] 84 *) # print warning only for files which are older than $transferdelay days and within the last year 85 if [ $night -lt $checknight ] && [ $night -gt $checknight2 ] 84 86 then 85 87 printprocesslog "WARN "$rawfile" and "$failsfile" missing."
Note:
See TracChangeset
for help on using the changeset viewer.