Changeset 18434 for trunk/DataCheck
- Timestamp:
- 02/13/16 17:46:02 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/CheckTransfer.sh
r18318 r18434 74 74 toquery="CONCAT(fNight, '_', fRunID, ':', fReturnCode) " 75 75 toquery="IF (ISNULL(fReturnCode), CONCAT(fNight, '_', fRunID, 'crashed'), CONCAT(fNight, '_', fRunID, 'failed', fReturnCode)) " 76 where="WHERE NOT ISNULL(fReturnCode) OR (NOT ISNULL(fStartTime) AND ISNULL(fStopTime) ) AND fStartTime < DATE_ADD(Now(), INTERVAL -5 HOUR) "76 where="WHERE NOT ISNULL(fReturnCode) OR (NOT ISNULL(fStartTime) AND ISNULL(fStopTime) AND fStartTime < DATE_ADD(Now(), INTERVAL -5 HOUR)) OR (ISNULL(fStartTime) AND NOT ISNULL(fStopTime)) " 77 77 check_runs_in_db "RawFileRsyncedISDCStatus" 78 78 check_runs_in_db "RawFileAvailWueStatus" 79 79 # RawFileAvailISDC needs a different treatment 80 80 # as return code 0 means that file is in fails folder in archive 81 where="WHERE fReturnCode>0 OR (NOT ISNULL(fStartTime) AND ISNULL(fStopTime) ) AND fStartTime < DATE_ADD(Now(), INTERVAL -1 HOUR) "81 where="WHERE fReturnCode>0 OR (NOT ISNULL(fStartTime) AND ISNULL(fStopTime) AND fStartTime < DATE_ADD(Now(), INTERVAL -1 HOUR)) OR (ISNULL(fStartTime) AND NOT ISNULL(fStopTime)) " 82 82 check_runs_in_db "RawFileAvailISDCStatus" 83 83 … … 228 228 #printprocesslog " phido "$numphido 229 229 printprocesslog " data "$numdatruns 230 echo "" >> $logfile 2>&1 231 echo "" >> $logfile 2>&1 232 echo "" >> $logfile 2>&1 233 echo `date`": checking the transfer..." >> $logfile 2>&1 234 echo "" >> $logfile 2>&1 230 235 echo "disk: " >> $logfile 2>&1 231 236 echo " newdaq "${newdaq[@]} >> $logfile 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.