{"id":16177,"date":"2024-05-20T11:52:51","date_gmt":"2024-05-20T11:52:51","guid":{"rendered":"https:\/\/hostvento.com\/kb\/web-hosting\/getting-started-guide\/shared-hosting-quick-start-guide\/how-to-add-edit-and-delete-cron-jobs-in-cpanel\/"},"modified":"2024-06-15T03:24:38","modified_gmt":"2024-06-15T03:24:38","slug":"how-to-add-edit-and-delete-cron-jobs-in-cpanel","status":"publish","type":"docs","link":"https:\/\/www.hostvento.com\/kb\/docs\/hosting-faqs\/how-to-add-edit-and-delete-cron-jobs-in-cpanel\/","title":{"rendered":"How to Add, Edit and Delete Cron Jobs in cPanel"},"content":{"rendered":"\n<p>A task that is set to execute automatically at predetermined intervals is known as a cron job. For instance, you may set up a Cron Job in cPanel to run a script or command after a predetermined amount of time. Cron Jobs are designed to automate repetitive processes. With cPanel, creating, editing, and deleting Cron Jobs is simple and may be done as needed.<\/p>\n\n\n\n<p><strong>Follow these steps to add, edit, and delete Cron Jobs in cPanel:<\/strong><\/p>\n\n\n\n<p><strong>To add a scheduled task, follow these simple steps:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to<\/li>\n\n\n\n<li>Navigate to the<strong>\u00a0Advanced\u00a0<\/strong>section and click on\u00a0<strong>Cron Jobs<\/strong>.<\/li>\n\n\n\n<li>In the email box, type the email address on which you want to receive notifications, and click on Update Email. Each time the task is executed, you will be notified about its status on your account.<\/li>\n\n\n\n<li>In the<strong>\u00a0Add New Cron Job<\/strong>\u00a0section, enter the\u00a0<strong>interval<\/strong>\u00a0for the command you want.<\/li>\n\n\n\n<li>In the command text box, type the\u00a0<strong>command<\/strong>\u00a0you want to execute.<\/li>\n\n\n\n<li>Click on\u00a0<strong>Add New Cron Job<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>To edit a Cron Job,<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the Actions section click on Edit option.<\/li>\n\n\n\n<li>Make the changes you want and click on\u00a0<strong>Edit Line<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>To delete a Cron Job,<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on\u00a0<strong>Delete icon<\/strong><\/li>\n\n\n\n<li>It will ask for the confirmation? if yes then click on Delete else click on cancel.<\/li>\n<\/ul>\n\n\n\n<p>Thus, you can add, modify, and remove Cron Jobs in cPanel in this manner.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A task that is set to execute automatically at predetermined intervals is known as a cron job. For instance, you may set up a Cron Job in cPanel to run a script or command after a predetermined amount of time. Cron Jobs are designed to automate repetitive processes. With cPanel, creating, editing, and deleting Cron [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":23377,"menu_order":986,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-16177","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/comments?post=16177"}],"version-history":[{"count":2,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16177\/revisions"}],"predecessor-version":[{"id":16179,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16177\/revisions\/16179"}],"up":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/23377"}],"wp:attachment":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/media?parent=16177"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=16177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}