checkpro.mail message
checkpro is a daemon that monitors the appearance of new product files into product directories. checkpro should be started up at the same time as the pass reception daemon tsched.
checkpro reads a configuration file $PASSDIR/checkpro.com, which contains
records of the following form:
directory product_template max_minutes notify_script
The first three fields are required. If notify_script is missing, then checkpro.mail will be used in its place. Records starting with # are ignored:
For each given directory, checkpro runs the notify_script when the age of the newest file matching the product_template exceeds max_minutes. Age is determined by looking at the pass_date and start_time dataset attributes within the product files. If these attributes are not available, age is determined from files' last modification time.
notify_proc is spawned by checkpro with a single command line argument, namely some message. notify_proc can relay this message to various interested parties using mail or some other mechanism.
checkpro logs all its activities in the logfile $PASSDIR/checkpro.log, as well as writing diagnostics to UNIX stderr.
For each given directory, checkpro will spawn notification procedures at intervals of max_minutes if products fail to appear on a continual basis.
checkpro responds to the following signals:
The following record is for products generated by metin in the directory /data/metdata/globe; new products are expected every hour:
/data/metdata/globe m?.?????.???? 60 msatfailed
The following are examples of messages passed to the notification routine, and logged to $PASSDIR/checkpro.log.
Directory /data/metdata/globe has no files matching (m?.?????.????)
No new products (m?.?????.????) for /data/metdata/globe since startup
No new products (m?.?????.????) for /data/metdata/globe since
96/02/08 22:46:29
Cannot run msatfailed
The first message is issued on startup if no files matching the template are found. The other messages are issued at times after startup.
$PASSDIR/checkpro.com
$PASSDIR/checkpro.log
Last Update: $Date: 2000/12/01 23:06:29 $