{"id":19,"date":"2008-04-30T03:04:00","date_gmt":"2008-04-30T07:04:00","guid":{"rendered":"http:\/\/www.searchenginegenie.com\/programming-blog\/cron-jobs\/"},"modified":"2012-09-21T06:55:44","modified_gmt":"2012-09-21T10:55:44","slug":"cron-jobs","status":"publish","type":"post","link":"https:\/\/www.searchenginegenie.com\/programming-blog\/cron-jobs\/","title":{"rendered":"Cron Jobs"},"content":{"rendered":"<p class=\"MsoNormal\">Cron is a unix, solaris service that allows tasks to be automatically run at regular intervals by the cron. These tasks are often called as cron jobs in unix and solaris.<span> <\/span>cron is motivated by a crontab. Crontab is a file which contains the schedule of cron entries to be run and at particular time period.<\/p>\n<p>Early versions of cron, Version 7 Unix and 32V, made their services only to the super-user of the operating system (root). With the release of Unix System V and the multi-user cron, these services were extensive to all account-holding users of the system.<\/p>\n<p class=\"MsoNormal\">\n<p>Two different modes you can use the cron job:<\/p>\n<ul>\n<li>\n<p class=\"MsoNormal\">Standard \u2013 This mode provides range of pre-set options we can choose and set the cron job for our need.<\/p>\n<\/li>\n<li>\n<p class=\"MsoNormal\">Advanced (Unix Style) \u2013 It <span> <\/span>provides the regular cron options ie, Unix style cron options to set the cron job.<\/p>\n<\/li>\n<\/ul>\n<p class=\"MsoNormal\">To add or change a cron job:<\/p>\n<ol>\n<li><span style=\"font-family: &amp;quot;; font-size: 12;\">On the home page click on the Cron jobs button.<\/span><\/li>\n<li>\n<p class=\"MsoNormal\">If you desire to use the Standard mode, click on the Standard button.<\/p>\n<\/li>\n<\/ol>\n<ul>\n<li><span style=\"font-family: &amp;quot;; font-size: 12;\">Enter the e-mail address to send the results of the cron job.<\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-family: &amp;quot;; font-size: 12;\">In run field enter the command the you want to run in the Command.<\/span><\/li>\n<\/ul>\n<ul>\n<li><span style=\"font-family: &amp;quot;; font-size: 12;\">Choose the <span> <\/span>one option from each of the available lists.<\/span><\/li>\n<\/ul>\n<ul>\n<li>\n<p class=\"MsoNormal\">Then click on the Save Crontab button now your cron job has now been added or updated.<\/p>\n<\/li>\n<\/ul>\n<p class=\"MsoNormal\">If you desire to use the Advanced mode, click on the Advanced button.<\/p>\n<ul>\n<li><span style=\"font-family: &amp;quot;; font-size: 12;\">First enter the times for the cron job in the Minute, Hour, Day, Month, or Weekday fields. <\/span><\/li>\n<\/ul>\n<ul>\n<li>\n<p class=\"MsoNormal\">Then provide the cron job script in the Command field.<\/p>\n<\/li>\n<li><span style=\"font-family: &amp;quot;; font-size: 12;\">Then click on the Commit Changes button now your cron job has been added or updated.<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Cron is a unix, solaris service that allows tasks to be automatically run at regular intervals by the cron. These tasks are often called as cron jobs in unix and solaris. cron is motivated by a crontab. Crontab is a file which contains the schedule of cron entries to be run and at particular time [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[113,114],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-programmer","tag-cron-jobs","tag-solaris-service"],"_links":{"self":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":3,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":437,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/19\/revisions\/437"}],"wp:attachment":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}