{"id":7477,"date":"2019-06-17T21:27:27","date_gmt":"2019-06-17T21:27:27","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=7477"},"modified":"2025-12-04T11:03:08","modified_gmt":"2025-12-04T16:03:08","slug":"dartsagesite","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/9-data-collection-data-logging\/dartsagesite\/","title":{"rendered":"dartsAgeSite"},"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 a certain threshold.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>dartsAgeSite<\/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 style=\"width: 91.58%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 14.63%;\">\n<p>site<\/p>\n<\/td>\n<td style=\"width: 126.02%;\">\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 style=\"width: 14.63%;\">\n<p>email<\/p>\n<\/td>\n<td style=\"width: 126.02%;\">\n<p>Required. Specify the email address of the intended recipients for notifications.\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 14.63%;\">\n<p>dir<\/p>\n<\/td>\n<td style=\"width: 126.02%;\">Optional. Specify the directory to check for old files. The default is &#8220;darts_pam&#8221;.\u00a0 \u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>dartsAgeSite<\/strong> site=bak email=new.user@cummins.com dir=darts_pam<br \/>\nThe above command sends emails to new.user@cummins.com if files for the bak site are within the hold directories of darts_pam\/PAMdatapoint are older than 1 hour and the files originated at bak.<\/p>\n<p><strong>dartsAgeSite<\/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 darts_pam\/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 operates as a continuous process, periodically checking for old files and sending emails during specified hours.<\/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 a certain threshold. Enter: dartsAgeSite [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 [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"parent":1960,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7477","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7477","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\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=7477"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7477\/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=7477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}