pamAgeSite
Purpose:
-
Monitor the file age of files within the hold and ready directories of the specified directory on the central node. An email is sent to sysop to notify them of the old files. A copy of the old files is attached to the email.
Enter:
-
pamAgeSite site=[test cell site] email=[email addresses] dir=[directory]
Where:
-
site
Optional. Specify the site location of the files to calculate their age. The default is ctc.
email
Required. Specify the email address of the intended recipients.
dir
Optional. Specify the directory where the check of old files is to be performed. The default is PAMdatapoint.
Example:
-
pamAgeSite site=bak email=new.user@cummins.com dir=PAMheader
The above command sends emails to new.user@cummins.com if files for the bak site are within the hold directories of PAMheader are older than 1 hour and the files originated at bak.pamAgeSite email=new.user@cummins.com
The above command sends emails to new.user@cummins.com if files for the ctc site are within the PAMdatapoint directories are older than 1 hour and the files originated at ctc.