{"id":18385,"date":"2026-09-29T21:37:48","date_gmt":"2026-09-29T18:37:48","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/cpanel-cron-jobs\/"},"modified":"2026-09-29T21:37:48","modified_gmt":"2026-09-29T18:37:48","password":"","slug":"cpanel-cron-jobs","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-cron-jobs\/","title":{"rendered":"How to Set Up Cron Jobs (Scheduled Tasks) in cPanel"},"content":{"rendered":"<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.8\"><strong>In short:<\/strong> To add a cron job: in cPanel go to Advanced, then Cron Jobs. Choose a schedule from Common Settings or set the minute, hour, day, month and weekday, enter the command and click Add New Cron Job. Add your email to receive the output, and check your command before adding it.<\/div>\n<p>Cron jobs let you run commands or scripts on your website automatically at set times, for example every day or every week. Cron is one of the most useful tools on Linux and Unix-like systems.<\/p>\n<h2>Steps<\/h2>\n<p><strong>1.<\/strong> Log in to cPanel. See <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/how-to-log-in-to-cpanel\/\">how to log in to cPanel<\/a>.<\/p>\n<p><strong>2.<\/strong> In the <strong>Advanced<\/strong> section, click <strong>Cron Jobs<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/06\/Cron-Job.png\" alt=\"Cron Jobs in cPanel\" \/><\/p>\n<p><strong>3.<\/strong> Choose how often the command runs, either from <strong>Common Settings<\/strong> or by setting each field. Enter the command in the <strong>Command<\/strong> box, for example <code>\/usr\/local\/bin\/php \/home\/username\/public_html\/script.php<\/code>, and click <strong>Add New Cron Job<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/06\/Cron-Job1.png\" alt=\"Add a new cron job\" \/><\/p>\n<p><strong>4.<\/strong> Optionally, enter your email in <strong>Cron Email<\/strong> to receive a message each time the job runs.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/06\/Cron-Job2.png\" alt=\"Cron email\" \/><\/p>\n<p><strong>5.<\/strong> Your job appears under <strong>Current Cron Jobs<\/strong>, where you can edit or delete it.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/06\/Cron-Job3.png\" alt=\"Current cron jobs\" \/><\/p>\n<p><strong>Warning:<\/strong> you need a good understanding of Linux commands to use cron jobs safely. A wrong command, or one that runs too often, can overload your account. If you are not sure, ask our support to check your script first.<\/p>\n<p class=\"hy-svc-link\" style=\"background:#fff5f7;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:20px 0;line-height:1.8\"><strong>Related service:<\/strong> <a href=\"https:\/\/www.hyyat.com\/en\/shared-hosting-2\/\">Hyyat Host shared hosting<\/a> with cPanel, cron jobs and 24\/7 support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short: To add a cron job: in cPanel go to Advanced, then Cron Jobs. Choose a schedule from Common Settings or set the minute, hour, day, month and weekday, enter the command and click Add New Cron Job. Add your email to receive the output, and check your command before adding it. Cron jobs [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2749],"doc_tag":[],"class_list":["post-18385","docs","type-docs","status-publish","hentry","doc_category-website-control-panel-cpanel"],"year_month":"2026-10","word_count":229,"total_views":"1","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"Website control panel ( cpanel )","term_url":"https:\/\/www.hyyat.com\/en\/kb\/website-control-panel-cpanel\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18385"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18385\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18385"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18385"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}