{"id":3810,"date":"2019-02-12T16:09:57","date_gmt":"2019-02-12T16:09:57","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/13-data-collection-data-logging\/pamagesite\/"},"modified":"2025-12-04T10:54:49","modified_gmt":"2025-12-04T15:54:49","slug":"pamagesite","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/9-data-collection-data-logging\/pamagesite\/","title":{"rendered":"pamAgeSite"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Monitor the age of files in the hold and ready directories of a specified directory and send email notifications if files are older than 2 hours.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>pamAgeSite<\/strong> [site=site] &lt;email=email&gt; [dir=directory]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>site<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the site location of the files to monitor. The default is ctc.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>email<\/p>\n<\/td>\n<td>\n<p>Required. Specify the email address of the intended recipients to receive notifications.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>dir<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the directory\u00a0to search for old files. The default is PAMdatapoint.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>pamAgeSite<\/strong> site=bak email=new.user@cummins.com dir=PAMheader<br \/>\nThe 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.<\/p>\n<p><strong>pamAgeSite<\/strong> email=new.user@cummins.com<br \/>\nThe 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.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The program runs as a background service and only sends emails between 7:00 and 17:00.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Monitor the age of files in the hold and ready directories of a specified directory and send email notifications if files are older than 2 hours. Enter: pamAgeSite [site=site] &lt;email=email&gt; [dir=directory] Where: site Optional. Specify the site location of the files to monitor. The default is ctc. email Required. Specify the email address of [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1960,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3810","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3810"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3810\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1960"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}