{"id":461,"date":"2011-06-22T14:59:48","date_gmt":"2011-06-22T14:59:48","guid":{"rendered":"http:\/\/blog.nixwind.com\/?p=461"},"modified":"2011-06-22T14:59:48","modified_gmt":"2011-06-22T14:59:48","slug":"how-to-schedule-a-cron-job-with-cpanel","status":"publish","type":"post","link":"https:\/\/blog.nixwind.com\/?p=461","title":{"rendered":"How to schedule a Cron job with cPanel"},"content":{"rendered":"<p>You can use cPanel to set the cronjobs for your application or any other task. Cron jobs are scheduled tasks that take place at predefined times or  intervals on the server.<\/p>\n<p><strong>1) Click on the Cron jobs button on the home page.<\/strong><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full  wp-image-462\" title=\"cPanel-Cron jobs\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs.png\" alt=\"\" width=\"213\" height=\"81\" \/><\/a><\/p>\n<p><strong>2) The first one is for adding a cron email.<\/strong><\/p>\n<p>Cron Email is used to send notifications whenever your cron jobs are run.<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Cron-Email.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium  wp-image-464\" title=\"cPanel-Cron jobs_Cron Email\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Cron-Email-300x87.png\" alt=\"\" width=\"300\" height=\"87\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Cron-Email-300x87.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Cron-Email.png 734w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"padding-left: 30px;\">a) Enter the email address at which you wish to receive the notifications  in the text box <strong><em>&#8220;Email<\/em>&#8220;.<\/strong><\/p>\n<p style=\"padding-left: 30px;\">b) Click the <strong><em>&#8220;Update Email<\/em>&#8221; <\/strong>button.<\/p>\n<p><strong>3) To set up a cron job<\/strong><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Add.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-463\" title=\"cPanel-Cron jobs_Add\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Add-300x133.png\" alt=\"\" width=\"300\" height=\"133\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Add-300x133.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Add.png 734w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Configure any interval at which you wish to run the cron job<\/p>\n<p style=\"padding-left: 30px;\">a)<strong> <\/strong><em><strong> Common Settings<\/strong>&#8211;<\/em> The First menu allows you to select a commonly used interval without having to  specify settings for the minute, hour, day, month.<\/p>\n<p style=\"padding-left: 30px;\">b)<strong><em> Minute<\/em><\/strong> &#8211; Select the number of minutes between running the cron job, or the minute  each hour on which you wish to run the cron job.<\/p>\n<p style=\"padding-left: 30px;\">c) <em><strong>Hour<\/strong> &#8211; <\/em>Select the number of hours between running the cron job, or the hour  each day on which you wish to run the cron job.<\/p>\n<p style=\"padding-left: 30px;\">d) <strong><em>Day<\/em><\/strong> &#8211; Select the number of days between running the cron job, or the day of  the month on which you wish to run the cron job.<\/p>\n<p style=\"padding-left: 30px;\">e) <strong><em>Month<\/em><\/strong> &#8211; Select the number of months between running the cron job, or the month  of the year in which you wish to run the cron job.<\/p>\n<p style=\"padding-left: 30px;\">f) <strong><em>Weekday<\/em><\/strong> &#8211; select the day or days of the week on which you wish to run the cron job.<\/p>\n<p>Type the command you wish the system to run in the text box <em><strong>&#8220;Command&#8221;<\/strong><\/em>.<\/p>\n<p>The current cron jobs are listed under <em><strong>&#8220;Current Cron Jobs&#8221;<\/strong><\/em>.<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Current.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-465\" title=\"cPanel-Cron jobs_Current\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Current-300x48.png\" alt=\"\" width=\"300\" height=\"48\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Current-300x48.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Current.png 729w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>4) You can edit \/ delete the current cron jobs.<\/strong><\/p>\n<p style=\"padding-left: 30px;\">a) To edit a current cron job.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Edit.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-466\" title=\"cPanel-Cron jobs_Edit\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Edit-300x57.png\" alt=\"\" width=\"300\" height=\"57\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Edit-300x57.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/cPanel-Cron-jobs_Edit.png 712w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"padding-left: 60px;\">Locate the cron job and click &#8220;Edit&#8221;.<\/p>\n<p style=\"padding-left: 60px;\">Edit the settings you wish to change.<\/p>\n<p style=\"padding-left: 60px;\">Click <strong><em>&#8220;Edit Line&#8221;<\/em><\/strong> to save the edited cron job.<\/p>\n<p style=\"padding-left: 30px;\">b) To delete a current cron job.<\/p>\n<p style=\"padding-left: 60px;\">Click <em>&#8220;<strong> Delete&#8221; <\/strong><\/em>in corresponding cron job that you want to delete.<em> <\/em><\/p>\n<p><em><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can use cPanel to set the cronjobs for your application or any other task. Cron jobs are scheduled tasks that take place at predefined times or intervals on the server. 1) Click on the Cron jobs button on the home page. 2) The first one is for adding a cron email. Cron Email is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[18,74,75],"_links":{"self":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/461"}],"collection":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=461"}],"version-history":[{"count":3,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}