Last data submission alerts

From PTAGISWiki

(Redirected from Ck submits)
Jump to: navigation, search

Check Interrogation File Submission (ck_submits)

The perl program ck_submits (blueback:://home/pittag/bin/ck_submits) is run each time an IDL process in run. ck_submits sends an email to users referenced in the blueback::/home/pittag/etc/sites file when interrogation files have not been received from a site for a period of time.

The Sites File

The list of sites monitored this way and the time periods are determined by this file:

  • blueback:/home/pittag/etc/sites

For instance, Rock Island Adult (RIA) has this entry:

ria:ris::ria@psmfc.org::6:I:biomark_sitemaint@psmfc.org:

Indicating that if the mtime for the file etc/status/last-submit/ria@psmfc.org is more than 6 hours old, send an alert email to biomark_sitemaint@psmfc.org. This would indicate that data had not been submitted for more than 6 hours. The information about the last submission from a site is maintained in the directory:

  • blueback:/home/pittag/etc/status/last-submit

The last-submit directory contains files with the name of email addresses that contain timestamps for the last received submission.

Personal tools