{"id":635,"date":"2025-12-19T06:19:20","date_gmt":"2025-12-19T05:19:20","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=635"},"modified":"2026-02-24T14:28:36","modified_gmt":"2026-02-24T13:28:36","slug":"how-to-manage-cron-tasks","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-manage-cron-tasks\/","title":{"rendered":"How to manage CRON tasks?"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\"><em>CRON<\/em> is a scheduler that runs commands or scripts automatically at defined times or intervals. Common uses include sending scheduled emails, generating reports, cleaning up temporary files, or triggering WordPress maintenance tasks (such as scheduled posts and plugin updates).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On One Box, <em>CRON<\/em> is available as an add-on. On Flex Box and Prime Box, it is included by default.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-manage-cron-tasks\/#Adding_a_CRON_task\" >Adding a CRON task<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-manage-cron-tasks\/#CRON_schedule_format\" >CRON schedule format<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-manage-cron-tasks\/#Editing_and_deleting_tasks\" >Editing and deleting tasks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-manage-cron-tasks\/#What_to_expect\" >What to expect<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Adding_a_CRON_task\"><\/span><strong>Adding a CRON task<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the mybox panel at<a href=\"https:\/\/panel.mybox.com\"> panel.mybox.com<\/a>.<\/li>\n\n\n\n<li>In the left-hand menu, go to <strong>Additional Services \u2192 CRON Tasks<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Add task<\/strong>.<\/li>\n\n\n\n<li>Fill in the schedule fields and the command to run.<\/li>\n\n\n\n<li>Click <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"996\" height=\"648\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/CRON-jobs-mybox-Panel-02-13-2026_01_24_PM.png\" alt=\"\" class=\"wp-image-5893\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/CRON-jobs-mybox-Panel-02-13-2026_01_24_PM.png 996w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/CRON-jobs-mybox-Panel-02-13-2026_01_24_PM-300x195.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/CRON-jobs-mybox-Panel-02-13-2026_01_24_PM-768x500.png 768w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2025\/12\/CRON-jobs-mybox-Panel-02-13-2026_01_24_PM-18x12.png 18w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"CRON_schedule_format\"><\/span><strong>CRON schedule format<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-1881184695\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">CRON tasks use a five-field time expression:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">* * * * *<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2502 \u2502 \u2502 \u2502 \u2502<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2502 \u2502 \u2502 \u2502 \u2514\u2500 Day of week (0\u20137, where 0 and 7 = Sunday)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2502 \u2502 \u2502 \u2514\u2500\u2500\u2500 Month (1\u201312)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2502 \u2502 \u2514\u2500\u2500\u2500\u2500\u2500 Day of month (1\u201331)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2502 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Hour (0\u201323)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 Minute (0\u201359)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An asterisk (*) means &#8220;every&#8221; for that field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Common examples:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Expression<\/strong><\/td><td><strong>Meaning<\/strong><\/td><\/tr><tr><td>0 * * * *<\/td><td>Every hour, on the hour<\/td><\/tr><tr><td>0 3 * * *<\/td><td>Every day at 3:00 AM<\/td><\/tr><tr><td>*\/15 * * * *<\/td><td>Every 15 minutes<\/td><\/tr><tr><td>0 0 * * 1<\/td><td>Every Monday at midnight<\/td><\/tr><tr><td>0 6 1 * *<\/td><td>First day of every month at 6:00 AM<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Editing_and_deleting_tasks\"><\/span><strong>Editing and deleting tasks<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To edit an existing task, go to <strong>Additional Services \u2192 CRON Tasks<\/strong>, find the task in the list, and click <strong>Edit<\/strong>. To remove it, click <strong>Delete<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_expect\"><\/span><strong>What to expect<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><em>CRON<\/em> tasks run on the server \u2014 not in the browser. There is no live output visible in the panel. If a task produces output (errors or results), configure it to write to a log file in your command, for example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/usr\/local\/bin\/php \/home\/user\/public_html\/cron.php &gt;&gt; \/home\/user\/cron.log 2&gt;&amp;1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a task does not appear to be running, verify the schedule expression and check that the command path is correct.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-onethird-callout-box onethird-callout-wrap\"><div class=\"onethird-callout onethird-callout--hint\" style=\"--ot-bg:#EAFFF7;--ot-border:#C8E8D8;--ot-text:#6F7C88;--ot-title:#384048;--ot-body:#6F7C88;--ot-icon:#384048;border-radius:6px;padding:16px\"><div class=\"onethird-callout__head\"><span class=\"onethird-callout__icon\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" aria-hidden=\"true\" focusable=\"false\"><path fill=\"none\" stroke=\"#384048\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M2 10h4v12H2V10zm20 1c0-1.1-.9-2-2-2h-6.31l.95-4.57.02-.2c0-.26-.11-.5-.29-.68L13.17 2 7.59 7.59C7.22 7.95 7 8.45 7 9v11c0 1.1.9 2 2 2h8c.82 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z\"><\/path><\/svg><\/span><div class=\"onethird-callout__title\">Early Access<\/div><\/div><div class=\"onethird-callout__body\"><em>CRON<\/em> is available as an add-on for One Box. Flex Box and Prime Box are not yet available in early access. To activate the CRON add-on, go to the mybox Store.<\/div><\/div><div class=\"onethird-callout__separator\" style=\"height:18px\" aria-hidden=\"true\"><\/div><\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[13,25],"manual_kb_tag":[965,1570,1895,2741,2742,2743,2744,2745,2746,2747],"class_list":["post-635","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-cron","manualknowledgebasecat-hosting","manual_kb_tag-service-management","manual_kb_tag-control-panel","manual_kb_tag-additional-services","manual_kb_tag-task-management","manual_kb_tag-manage-tasks","manual_kb_tag-tasks-tab","manual_kb_tag-dashboard-panel","manual_kb_tag-user-documentation","manual_kb_tag-freemium-users","manual_kb_tag-purchase-addon"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/635\/revisions"}],"predecessor-version":[{"id":3870,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/635\/revisions\/3870"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=635"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=635"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}