- Timestamp:
- 03/29/12 10:03:53 (13 years ago)
- Location:
- trunk/DataCheck/Processing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckAuxFilesAvail.sh
r13055 r13285 6 6 program=CheckAuxFilesAvail 7 7 step=AuxFilesAvailISDC 8 transferdelay=3 #days 8 9 9 10 set -C … … 20 21 do 21 22 night=${primaries[$s]} 23 currentnight=`date +%Y%m%d` 24 checknight=`echo " $currentnight - $transferdelay " | bc -l` 22 25 23 26 setstatus "start" … … 47 50 0) printprocesslog "INFO found auxfiles for night "$night"." 48 51 ;; 49 *) printprocesslog "WARN "$totalcheck" auxiliary files missing ("$totalcheck2") for night "$night"." 50 check=$totalcheck2 52 *) if [ $night -lt $checknight ] 53 then 54 printprocesslog "WARN "$totalcheck" auxiliary files missing ("$totalcheck2") for night "$night"." 55 check=$totalcheck2 56 else 57 check="no" 58 printprocesslog "INFO "$totalcheck" auxiliary files missing ("$totalcheck2") for night "$night"." 59 fi 51 60 ;; 52 61 esac -
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.