{"id":7101,"date":"2023-06-23T09:49:17","date_gmt":"2023-06-23T09:49:17","guid":{"rendered":"https:\/\/infinitivehost.com\/knowledge-base\/?p=7101"},"modified":"2023-06-23T09:49:23","modified_gmt":"2023-06-23T09:49:23","slug":"how-to-configure-a-cron-job","status":"publish","type":"post","link":"https:\/\/www.infinitivehost.com\/knowledge-base\/how-to-configure-a-cron-job\/","title":{"rendered":"How To Configure a Cron Job"},"content":{"rendered":"<div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 1,328<\/span><span class='epvc-label'> Views<\/span><\/div>\n<p class=\"wp-block-paragraph\">Cron service on&nbsp;linux&nbsp;servers are used as a time-based schedulers. These are very helpful utility for the&nbsp;server&nbsp;admins &amp;&nbsp;as well as for the&nbsp;users to automatically execute any commands or scripts at a specified time or interval.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps to create a cron job from the cPanel :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>STEPS:-<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Login to cPanel.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"395\" height=\"329\" src=\"https:\/\/infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg1.png\" alt=\"How To Configure a Cron Job\" class=\"wp-image-7108\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg1.png 395w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg1-300x250.png 300w\" sizes=\"(max-width: 395px) 100vw, 395px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">2. In cPanel, find the \u201cCRON JOBS\u201d In the search bar.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"642\" height=\"308\" src=\"https:\/\/infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg2.png\" alt=\"How To Configure a Cron Job\" class=\"wp-image-7109\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg2.png 642w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg2-300x144.png 300w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">3. Now in cron jobs section scroll down the page find the \u201cADD NEW CRON JOB\u201d table.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"926\" height=\"575\" src=\"https:\/\/infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg3.png\" alt=\"How To Configure a Cron Job\" class=\"wp-image-7110\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg3.png 926w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg3-300x186.png 300w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg3-768x477.png 768w\" sizes=\"(max-width: 926px) 100vw, 926px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">4. Edit this table with new scripts. Now in the command field, enter the command or path of your script and then click on \u201cADD NEW CRON JOB.\u201d<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"645\" src=\"https:\/\/infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg4.png\" alt=\"How To Configure a Cron Job\" class=\"wp-image-7111\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg4.png 813w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg4-300x238.png 300w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/06\/cronimg4-768x609.png 768w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>1,328 Views Cron service on&nbsp;linux&nbsp;servers are used as a time-based schedulers. These are very helpful utility for the&nbsp;server&nbsp;admins &amp;&nbsp;as well as for the&nbsp;users to automatically execute any commands or scripts at a specified time or interval. Follow these steps to create a cron job from the cPanel : STEPS:- 1. Login to cPanel. 2. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[61],"tags":[127,124,125,126,128],"class_list":["post-7101","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-automation","tag-cronservice","tag-linuxservers","tag-taskscheduling","tag-workflowoptimization"],"_links":{"self":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/7101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=7101"}],"version-history":[{"count":1,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/7101\/revisions"}],"predecessor-version":[{"id":7124,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/7101\/revisions\/7124"}],"wp:attachment":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=7101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=7101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=7101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}