{"id":7422,"date":"2019-06-11T14:06:42","date_gmt":"2019-06-11T14:06:42","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=7422"},"modified":"2019-06-11T14:06:42","modified_gmt":"2019-06-11T14:06:42","slug":"task_qry-sh","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/task_qry-sh\/","title":{"rendered":"task_qry.sh"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>\n<p>Retrieve a list of tasks ran from the system status log database from the current day back the specified number of days.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>task_qry.sh <\/strong>&lt; executable_name &gt; [number_of_days_to_go_back]<\/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>executable_name<\/p>\n<\/td>\n<td>\n<p>specified task name to query the system status log database for to determine if has been ran <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>number_of_days_to_go_back<\/p>\n<\/td>\n<td>\n<p>number of days to retrieve data for from the current day<\/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>task_qry.sh\u00a0 evnt_adm<br \/>\nThe above command will query the system status log database to determine if the evnt_adm task has ever been executed.<\/p>\n<p>task_qry.sh evnt_adm 5<br \/>\nThe above command will query the system status log database to determine if the evnt_adm task has been executed within the last 5 days.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<h3>See Also:<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Retrieve a list of tasks ran from the system status log database from the current day back the specified number of days. Enter: task_qry.sh &lt; executable_name &gt; [number_of_days_to_go_back] Where: executable_name specified task name to query the system status log database for to determine if has been ran number_of_days_to_go_back number of days to retrieve data [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7422","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7422","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=7422"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7422\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=7422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}