Changeset 13285 for trunk/DataCheck/Processing/CheckRawFilesAvail.sh
- Timestamp:
- 03/29/12 10:03:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckRawFilesAvail.sh
r13153 r13285 6 6 program=CheckRawFilesAvail 7 7 step=RawFileAvailISDC 8 transferdelay=3 #days 8 9 9 10 set -C … … 21 22 night=${primaries[$s+$s]} 22 23 runid=${primaries[$s+$s+1]} 24 currentnight=`date +%Y%m%d` 25 checknight=`echo " $currentnight - $transferdelay " | bc -l` 23 26 24 27 setstatus "start" … … 29 32 30 33 case $check1 in 31 1) printprocesslog "WARN "$rawfile" missing." 34 0) printprocesslog "INFO found rawfile "$rawfile 35 ;; 36 *) # print warning only for files which are older than $transferdelay days 37 if [ $night -lt $checknight ] 38 then 39 printprocesslog "WARN "$rawfile" missing." 40 else 41 printprocesslog "INFO "$rawfile" missing." 42 fi 32 43 check="no" 33 ;;34 0) printprocesslog "INFO found rawfile "$rawfile35 44 ;; 36 45 esac
Note:
See TracChangeset
for help on using the changeset viewer.