new_tables

Purpose:

Identify calibration tables newer than a specified age and send an email listing them from the /cell/tables/ directory. 

Enter:

new_tables [age_in_days] [email_address]

Where:

age_in_days

Optional. Specify the number of days to check for newer tables. The default is 1.

email_address

Optional. Specify the recipient email address for the list. The default is to use addresses from the /specs/trv_specs.nnn file.  

Example:

new_tables 1 len@ctcqnx4.ctg.cummins.com
The above example sends an email to len@ctcqnx4.ctg.cummins.com containing a list of calibration tables that are newer than 1 day.

new_tables 1000
The above example sends emails out to the email addresses from the @EMAIL keyword of the /specs/trv_specs.nnn file. The email message will contain a list of calibration tables that are newer than 1000 days.

Notes:

This process can be setup to run from cron so that a particular person is notified if files have been changed.

See Also:

Calibration Tables and Utilities