{"id":1461,"date":"2020-06-07T21:23:27","date_gmt":"2020-06-07T13:23:27","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=1461"},"modified":"2026-01-12T14:55:40","modified_gmt":"2026-01-12T06:55:40","slug":"i-cant-run-a-cron-job-what-should-i-do","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/i-cant-run-a-cron-job-what-should-i-do","title":{"rendered":"I can\u2019t run a cron job. What should I do?"},"content":{"rendered":"<h2><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/miro.medium.com\/1*ukNvgqV-HTHTebPHZMFNgg.png\" alt=\"cron job\" width=\"510\" height=\"286\" \/><\/h2>\n<h2>I can\u2019t run a cron job. What should I do?<\/h2>\n<p>I can\u2019t run a<a href=\"https:\/\/cron-job.org\/en\/\" rel=\"nofollow noopener\" target=\"_blank\"> cron job<\/a><\/p>\n<p>If you\u2019re having issues running cron at all, Cloudflare recommends moving cron to a different subdomain and\/or that you create a new subdomain that we don\u2019t proxy. Options:<\/p>\n<p>1. Run your cron jobs under your direct subdomain (direct.example.com).<\/p>\n<p>2. Create a subdomain for cron. Then add it in Cloudflare\u2019s DNS app and make sure the cloud icon in your status field is grey.<\/p>\n<p>&nbsp;<\/p>\n<p><span data-sheets-root=\"1\">Please refer to the following article to know more.<br \/>\nKnowledge Base: <a href=\"https:\/\/www.servergigabit.com\/guide\/kb\/cron-scheduling-for-beginners-a-practical-approach-to-automating-tasks\">Cron Scheduling for Beginners: A Practical Approach to Automating Tasks<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I can\u2019t run a cron job. What should I do? I can\u2019t run a cron job If you\u2019re having issues running cron at all, Cloudflare recommends moving cron to a different subdomain and\/or that you create a new subdomain that we don\u2019t proxy. Options: 1. Run your cron jobs under your direct subdomain (direct.example.com). 2. Create a subdomain for cron.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[43],"kbtag":[1475],"class_list":["post-1461","kb","type-kb","status-publish","hentry","kbtopic-cloudflare","kbtag-cron-job"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=1461"}],"version-history":[{"count":5,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1461\/revisions"}],"predecessor-version":[{"id":6100,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1461\/revisions\/6100"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=1461"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=1461"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=1461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}