{"id":642,"date":"2025-12-12T15:32:38","date_gmt":"2025-12-12T15:32:38","guid":{"rendered":"https:\/\/www.jolt.co.uk\/kb\/cron-jobs-scheduled-tasks-on-jcp\/"},"modified":"2026-01-15T13:48:35","modified_gmt":"2026-01-15T13:48:35","slug":"cron-jobs-scheduled-tasks-on-jcp","status":"publish","type":"post","link":"https:\/\/www.jolt.co.uk\/help\/cron-jobs-scheduled-tasks-on-jcp\/","title":{"rendered":"CRON Jobs (Scheduled Tasks) on JCP"},"content":{"rendered":"\n<p>Automate repetitive tasks with scheduled jobs. Whether you need to clean up data every night, fetch data hourly, or run maintenance scripts, CRON jobs let your site work while you sleep.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Open Site Settings<\/h2>\n\n\n\n<p>Log into <strong>www.jolt.co.uk\/kb<\/strong> and open your Jolt Control Panel.<\/p>\n\n\n\n<p>Click the <strong>Settings icon<\/strong> beside the site you want to manage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-38-1024x276.png\" alt=\"\" class=\"wp-image-646\" srcset=\"https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-38-1024x276.png 1024w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-38-300x81.png 300w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-38-768x207.png 768w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-38-770x207.png 770w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-38.png 1338w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Go to Tasks<\/h2>\n\n\n\n<p>Navigate to the <strong>&#8220;Tasks&#8221;<\/strong> section. This is where you&#8217;ll set up and manage all your scheduled jobs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Create a Scheduled Task<\/h2>\n\n\n\n<p>You&#8217;ll see the section for creating <strong>Scheduled Tasks<\/strong> (also called CRON jobs). You&#8217;ll need to fill in three things:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Frequency<\/h3>\n\n\n\n<p>Select how often the task should run from the dropdown menu:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Every Minute<\/li>\n\n\n\n<li>Every Five Minutes<\/li>\n\n\n\n<li>Twice per Hour<\/li>\n\n\n\n<li>Every Hour<\/li>\n\n\n\n<li>Once a Day<\/li>\n<\/ul>\n\n\n\n<p>Pick whatever schedule makes sense for your task.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Action Type<\/h3>\n\n\n\n<p>Choose what kind of action you want to perform:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Run a PHP Script<\/strong> \u2014 Execute a PHP file on your server<\/li>\n\n\n\n<li><strong>Fetch a URL<\/strong> \u2014 Call a web address (useful for triggering actions)<\/li>\n\n\n\n<li><strong>Custom<\/strong> \u2014 For more advanced setups<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Script or URL Path<\/h3>\n\n\n\n<p>Enter the full path to the script or URL you want to execute.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Your Script Path Right<\/h2>\n\n\n\n<p><strong>Always use the full path<\/strong>, including your site&#8217;s username. The standard path structure on JCP is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/home\/&#091;username]\/site\/public_html\/&#091;script-name]<\/code><\/pre>\n\n\n\n<p>Not sure what your username is? Check the left sidebar of your Jolt Control Panel\u2014it&#8217;s listed there.<\/p>\n\n\n\n<p>For example, if your username is<code> poldice<\/code> and your script is <code>backup.php<\/code>, the full path would be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/home\/poldice\/site\/public_html\/backup.php<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Add Your Task<\/h2>\n\n\n\n<p>Once everything looks correct, click <strong>&#8220;Add Task&#8221;<\/strong>. Your scheduled job is now active.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"661\" src=\"https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-40-1024x661.png\" alt=\"\" class=\"wp-image-644\" srcset=\"https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-40-1024x661.png 1024w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-40-300x194.png 300w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-40-768x496.png 768w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-40-770x497.png 770w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-40.png 1106w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Managing Your Tasks<\/h2>\n\n\n\n<p>Once a task is created, you have several options on the right side:<\/p>\n\n\n\n<p><strong>Edit<\/strong> \u2014 Update the frequency, action type, or path<\/p>\n\n\n\n<p><strong>Pause\/Resume<\/strong> \u2014 Temporarily stop a task without deleting it, then restart it whenever you&#8217;re ready<\/p>\n\n\n\n<p><strong>Notifications<\/strong> \u2014 By default, JCP doesn&#8217;t email you about CRON jobs (fewer emails!). But you can toggle the notification bell to receive emails with task output. <\/p>\n\n\n\n<p class=\"banner-note\">\ud83d\udca1 Note: successful scripts that produce no output won&#8217;t generate emails, but errors will always be sent.<\/p>\n\n\n\n<p><strong>Delete<\/strong> \u2014 Remove the task permanently<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"128\" src=\"https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-41-1024x128.png\" alt=\"\" class=\"wp-image-643\" srcset=\"https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-41-1024x128.png 1024w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-41-300x37.png 300w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-41-768x96.png 768w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-41-770x96.png 770w, https:\/\/kb.jolt.co.uk\/wp-content\/uploads\/sites\/5\/2025\/12\/image-41.png 1090w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Pro Tips<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Silent success<\/strong> \u2014 Many scripts do their work and output nothing when successful. That&#8217;s normal. You&#8217;ll only get notified if something goes wrong.<\/li>\n\n\n\n<li><strong>Test first<\/strong> \u2014 Before scheduling, manually test your script or URL to make sure it works.<\/li>\n\n\n\n<li><strong>Monitor errors<\/strong> \u2014 If you&#8217;re unsure about a new task, enable notifications temporarily to catch any problems.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p><strong>Automation makes your site smarter.<\/strong> Set it up once and let JCP handle the rest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automate repetitive tasks with scheduled jobs. Whether you need to clean up data every night, fetch data hourly, or run maintenance scripts, CRON jobs let your site work while you sleep. Step 1: Open Site Settings Log into www.jolt.co.uk\/kb and open your Jolt Control Panel. Click the Settings icon beside&hellip;<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-642","post","type-post","status-publish","format-standard","hentry","category-our-control-panel"],"_links":{"self":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/comments?post=642"}],"version-history":[{"count":3,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts\/642\/revisions"}],"predecessor-version":[{"id":704,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts\/642\/revisions\/704"}],"wp:attachment":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/media?parent=642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/categories?post=642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/tags?post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}