{"id":382,"date":"2012-03-05T18:09:57","date_gmt":"2012-03-05T18:09:57","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/03\/05\/disabling-the-wp-cronphp-in-wordpress\/"},"modified":"2026-01-22T09:33:17","modified_gmt":"2026-01-22T14:33:17","slug":"disable-the-wp-cron","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/","title":{"rendered":"How to Disable the WP-Cron (wp-cron.php) in WordPress"},"content":{"rendered":"<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-1024x538.jpg\" alt=\"Disable the WP Cron in WordPress header image\" class=\"wp-image-82007\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/a><\/figure>\n\n\n\n<p>WordPress uses a file called<strong> wp-cron.php<\/strong> as a virtual cron job in order to automate tasks like publishing scheduled posts, checking for plugin or theme updates, sending email notifications, and more. <\/p>\n\n\n\n<p>Why would you <strong>disable the WP-cron (wp-cron.php)<\/strong>? For many WordPress users, you can improve website performance when you <strong>disable the WP-cron <\/strong>in the WordPress site configuration file. This reduces the number of times that scheduled tasks are performed which lessens the load on the server.<\/p>\n\n\n\n<p>There are also possible exploits that can affect the wp-cron.php file. Disabling the WP-cron can tighten security by preventing these possible exploits from affecting your WordPress installation.<\/p>\n\n\n\n<div class=\"alert alert-primary\" role=\"alert\">Looking for a reliable VPS Hosting solution? Check out our <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">Managed VPS Hosting<\/a> servers!<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Why the WP-Cron is a Performance Problem<\/h2>\n\n\n\n<p>The WP-Cron is triggered any time that a visitor loads a page on your WordPress site. Some of the tasks that are triggered include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check for updates<\/li>\n\n\n\n<li>Publish scheduled posts<\/li>\n\n\n\n<li>Check for notifications from plugins<\/li>\n<\/ul>\n\n\n\n<p>The load on the server processor and resources are affected by the list of tasks that need to be checked by WP-Cron whenever a page is visited. The longer the list of tasks and the larger the volume of content, the more the server is affected.<\/p>\n\n\n\n<p>So, if you have a larger website with a lot of content, then these scheduled tasks could be substantial enough to affect your server performance.  You can then improve performance by disabling the wp-cron and scheduling your tasks so that they don\u2019t run <em>every time<\/em> that a page on your WordPress site is loaded.<\/p>\n\n\n\n<p>Additionally, if you have a website that doesn\u2019t receive regular traffic, it may be that scheduled tasks aren\u2019t completing on time. Because cron events only run when a visitor loads your site, many cron events may be delayed until the next time a visitor comes to your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disable\">Disable Default WP-Cron Behavior<\/h2>\n\n\n<div class=\"imh-youtube-embed\">\n\t\t\t<iframe src=\"https:\/\/www.youtube.com\/embed\/QXQfNzkTVHc\" title=\"How to Disable wp-cron.php in WordPress\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"VideoObject\",\"name\":\"How to Disable wp-cron.php in WordPress\",\"description\":\"In this tutorial, we will show you how to disable wp-cron.php in WordPress and allow your server to handle your cron jobs instead.\",\"uploadDate\":\"2014-09-09\",\"thumbnailUrl\":\"https:\/\/img.youtube.com\/vi\/QXQfNzkTVHc\/hqdefault.jpg\"}<\/script>\n\t\t<\/div>\n\n\n\n<p>Using the steps below we can disable the WP-Cron (wp-cron.php) in the wp-config.php file.<br><\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Open your <strong>wp-config.php<\/strong> using<a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\"> cPanel File Manager or FTP<\/a>.<\/li>\n\n\n\n<li>Find the line that starts with \u201c$table_prefix.\u201d Hit your enter key to add a line under that statement.  Then add the following code:<br><br><code>\u00a0 \/** Disable the WP_CRON processes*\/<br> define('DISABLE_WP_CRON', true);<\/code><br><\/li>\n\n\n\n<li>Click <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Now WordPress will <em>not <\/em>automatically run the wp-cron.php script each time your site gets a new visitor. Since the wp-cron is disabled, you will need to make sure that you set up a solution such as a manual cron job or plugin to make sure that your normally scheduled tasks are still being run.  Follow the steps below for setting up a manual cron job and for some plug-in options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"manual\">Set Up Manual Cron Job in Place of WP-Cron<\/h2>\n\n\n\n<p> We don\u2019t want to leave WordPress without any ability to automate tasks it might need to do. But at least now that it\u2019s not running for every single visitor, we can have more control over when these tasks take place. For most WordPress users, having the wp-cron.php script run every 6 hours is perfectly fine. That would be just 4 executions in a day, compared to possibly hundreds, or even thousands if you had a lot of website traffic that day. <\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\" target=\"_blank\">Log into cPanel<\/a>.<\/li>\n\n\n\n<li>Under the <strong>Advanced<\/strong> section, click on <strong>Cron Jobs<\/strong>.<br><br><a rel=\"lightbox\" href=\"\/support\/wp-content\/uploads\/2012\/03\/cpanel_lanternUpdatesMay17_cmPape_02.png\"><img decoding=\"async\" alt=\"click on cron jobs\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/cpanel_lanternUpdatesMay17_cmPape_02.png\"><\/a><br><\/li>\n\n\n\n<li>Select <strong>Once per hour<\/strong> from the <strong>Common Settings<\/strong> drop-down.<br><br><a rel=\"lightbox\" href=\"\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_11.png\"><img decoding=\"async\" alt=\"select once an hour from common settings\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_11.png\"><\/a><br><\/li>\n\n\n\n<li>Now select <strong>Every Sixth hours<\/strong> from the <strong>Hour<\/strong> drop-down.<br><br><a rel=\"lightbox\" href=\"\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_12.png\"><img decoding=\"async\" alt=\"select every 6 hours from hour field\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_12.png\"><\/a><br><\/li>\n\n\n\n<li>Finally fill in the code to run our cron job and click <strong>Add New Cron Job<\/strong>.<br> <pre> cd ~\/public_html; php -q wp-cron.php <\/pre> <br>Keep in mind that the `~` <strong>\/home\/userna5\/public_html<\/strong> path would be for a primary domain, where <strong style=\"color: red;\">userna5<\/strong> is your <a aria-label=\" (opens in a new tab)\" href=\"\/support\/security\/what-is-my-username-and-password\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel user name<\/a>. If you\u2019re using an add-on domain, or have WordPress installed in a sub-directory you\u2019ll want to be sure to update your path by adding it to your script or editing the command line.<br><br><a href=\"\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_14.png\" rel=\"lightbox\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_14.png\" alt=\"fill in cron job command click add new cron job\"><\/a><br><\/li>\n\n\n\n<li>You should see that your new cron job was added successfully.<br><br><a rel=\"lightbox\" href=\"\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_16.png\"><img decoding=\"async\" rel=\"lightbox\" alt=\"added cron job successfully\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/cpanel_plfix_PL_fix_Selection_16.png\"><\/a><\/li>\n<\/ol>\n\n\n\n<p>Now your WordPress website should be safely running scheduled tasks via the <strong>wp-cron.php<\/strong> script, but only at set intervals. If you aren\u2019t receiving an email when the cron runs, see our guide on <a href=\"\/support\/email\/cron-job-email\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">cron job not emailing me<\/a>.<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"plugin\">Plugin Solutions for Managing the WP-cron <\/h2>\n\n\n\n<p>Like most issues on WordPress, there is often a plugin that has been created in order to address the problem. These <em>free<\/em> plugins allow you to control or monitor the cron jobs run by the WP-cron.  With this functionality, these plugins let you know when there are issues with WP-cron because you can see what\u2019s happening to the cron jobs.   The first 2 plugins allow you to add, edit, delete cron jobs as part of their basic functionality. They also include many other functions such as scheduling.<\/p>\n\n\n\n<p>The last plugin simply gives you a status of the existing cron jobs being run by WordPress.  There are many more plugins than the three that are listed here.\u00a0 However, we have listed the three with the most active installations per the WordPress.org site. This is a quick summary of each of the plugins:<br><\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/advanced-cron-manager\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Advanced Cron Manager \u2013 Debug &amp; Control<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:21% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"171\" height=\"175\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/advanced-cron-mngr.jpg\" alt=\"Advanced Cron Manager\" class=\"wp-image-88563 size-full\"><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-normal-font-size\">Controls WordPress cron events.\u00a0 You can search for events, add new events, manually execute events, pause events, and much more.\u00a0 There is also an extensive scheduling option. <\/p>\n\n\n\n<p>There is a pro version of the plugin that provides this additional functionality:  <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cron Logger \u2013 log cron\u2019s execution times easily<\/li>\n\n\n\n<li>Events rescheduling \u2013 change event next execution date to control server load<\/li>\n\n\n\n<li>Error catcher \u2013 catch cron task\u2019s fatal errors and get them displayed in the log<\/li>\n\n\n\n<li>Performance stats \u2013 see how much time and memory particular event took<\/li>\n\n\n\n<li>Debug tool \u2013 log any useful informations from Cron callback<\/li>\n<\/ul>\n\n\n\n<p>This plugin does not disable the WP-cron but like the other plugins in this review, it provides control over the cron jobs running on your site.<\/p>\n<\/div><\/div>\n\n\n\n<p><br><br><a href=\"https:\/\/wordpress.org\/plugins\/wp-crontrol\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>WP Crontrol<\/strong><\/a><strong>\u00a0<\/strong><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:22% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"131\" height=\"131\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/image.jpeg\" alt=\"WP Control\" class=\"wp-image-88540 size-full\"><\/figure><div class=\"wp-block-media-text__content\">\n<p><br>Allows you to view and control what\u2019s happening in the WP-Cron system.\u00a0 This plugin is the most recently updated and tested to WordPress version 5.8.<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>View all cron events, recurrence, callback functions, and scheduled run date<\/li>\n\n\n\n<li>Edit, delete, and run any cron events<\/li>\n\n\n\n<li>Add, delete cron events and schedules<\/li>\n<\/ul>\n\n\n\n<p><em>This plugin does not disable the WP-cron<\/em>, but it gives you control over the cron jobs it manages. This is an open-source application and does not have a pro version.<\/p>\n<\/div><\/div>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/wp-cron-status-checker\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>WP-Cron Status Checker<\/strong><\/a><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:21% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"134\" height=\"134\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/03\/wp-cron-status-checker.jpg\" alt=\"WP-Cron Status Checker\" class=\"wp-image-88564 size-full\"><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-normal-font-size\">You can see tasks that have been successfully run and those that did not.  This gives you an overview that can help you decide on any necessary actions.\u00a0 This is a great troubleshooting tool and extremely helpful when tracking issues identified as problematic.<br><br><em>This plugin does not disable the WP-cron<\/em>.  It is used to carefully monitor the tasks managed by the WP-cron so that you can see what is happening.  You can then easily see the cron jobs status and get an emailed status when issues occur.<\/p>\n\n\n\n<p>There is a <a href=\"https:\/\/webheadcoder.com\/wp-cron-status-checker\/\" target=\"_blank\" rel=\"noreferrer noopener\">pro version<\/a> that gives you the ability to store more than 3 logs, store them for longer periods, and get more frequent email updates.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"errors\">Understanding \u201cdoing_wp_cron\u201d Errors<\/h2>\n\n\n\n<p>WP-Cron job errors generally show up in a URL that looks like this:<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>https:\/\/example.com\/post-name?doing_wp_cron=1245821<\/strong><\/p>\n\n\n\n<p>As we have previously stated, the automated tasks executed through wp-cron.php occur when a visitor views your WordPress site.\u00a0 At that time, these automated tasks are supposed to run, but sometimes things can go wrong.\u00a0 A plugin may not work correctly, or an automated task may work incorrectly.\u00a0 At worst, a task like publishing a scheduled post could happen more than once.\u00a0 Duplicate content\u00a0 \u2013 especially if it happens in large numbers \u2013 can be bad for your website due to the effect it has on your search engine results.<br><br>The best solution is to disable the WP cron jobs as we have discussed above or to use a plugin.\u00a0 You can easily see these error messages using a plugin or even the new Site Health tools included with WordPress.\u00a0 The <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/wp-cron-status-checker\/\" target=\"_blank\">WP-Cron Status Checker<\/a> is a good plugin to use to specifically see if errors are occurring.<br><br>Congratulations!  You now have a better understanding of the issues caused by the WP-Cron job (wp-cron.php).  You also have solutions that can be applied when you have heavy traffic through code or by a plugin.  This will help improve your WordPress site performance!<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"exploit\">Possible Exploits Affecting WP-Cron<\/h2>\n\n\n\n<p>Cybercriminals are also aware of how the wp-cron.php file affects a WordPress site.  They can manipulate a site using the WP-cron to perform a denial of service attack (DoS) in order to slow down a website or bring it down. <br><br><em>A <strong>Denial-of-Service (DoS)<\/strong> attack is\u00a0an attack meant to shut down a server or network,  in order to make it inaccessible<\/em>.<\/p>\n\n\n\n<p>Older versions of WordPress have also been subject to SQL injection attacks using the wp-cron.php file to attack the WordPress database.<\/p>\n\n\n\n<p class=\"alert alert-warning\">SQL injection is a type of cyber attack that is used to manipulate a database to gain access or destroy valuable\/private database information.<br><br>If you are aware that your WordPress site is subject to high traffic, then it is recommended that you disable the wp-cron.php file so that it does not run every time a visitor views your site. If your site is small and you only get a few visitors on the hour, then it will not be a problem.<br><br><\/p>\n\n\n<div class=\"jumbotron\">\r\n<p>Improve the performance and security of your WordPress website with our <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\/wordpress?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=wp-hosting-performance\">WordPress VPS Hosting<\/a> plans. Featuring blazing fast servers with advanced caching, 99.99% uptime, and a robust toolkit developed by WordPress experts.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/legacy\/images\/check.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Improve Core Web Vitals    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/legacy\/images\/check.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Free SSL &amp; Dedicated IP    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/legacy\/images\/check.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Advanced Server Caching    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/legacy\/images\/check.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>US &amp; EU Data Centers<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\/wordpress?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=wp-hosting-performance\">VPS for WordPress<\/a><\/p>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress uses a file called wp-cron.php as a virtual cron job in order to automate tasks like publishing scheduled posts, checking for plugin or theme updates, sending email notifications, and more. Why would you disable the WP-cron (wp-cron.php)? For many WordPress users, you can improve website performance when you disable the WP-cron in the WordPress<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57020,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4325,56],"tags":[],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Disable the WP Cron<\/title>\n<meta name=\"description\" content=\"WordPress uses wp-cron.php to automate things like scheduled posts, the default behavior can be intensive and we can disable it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Disable the WP Cron (wp-cron.php)\" \/>\n<meta property=\"og:description\" content=\"Learn about the need to disable the WP Cron (wp-cron.php). You will learn how to disable it in the file and using plugins\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-03-05T18:09:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-22T14:33:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-wp-cron.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jesse Owens\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jesse Owens\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\"},\"author\":{\"name\":\"Jesse Owens\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/db97af6358b0c1726e01e49180e5f71c\"},\"headline\":\"How to Disable the WP-Cron (wp-cron.php) in WordPress\",\"datePublished\":\"2012-03-05T18:09:57+00:00\",\"dateModified\":\"2026-01-22T14:33:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\"},\"wordCount\":1613,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-1024x538.jpg\",\"articleSection\":[\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\",\"name\":\"How to Disable the WP Cron\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-1024x538.jpg\",\"datePublished\":\"2012-03-05T18:09:57+00:00\",\"dateModified\":\"2026-01-22T14:33:17+00:00\",\"description\":\"WordPress uses wp-cron.php to automate things like scheduled posts, the default behavior can be intensive and we can disable it.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Disable the WP-Cron in WordPress header image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Disable the WP-Cron (wp-cron.php) in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/db97af6358b0c1726e01e49180e5f71c\",\"name\":\"Jesse Owens\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/jesseo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Disable the WP Cron","description":"WordPress uses wp-cron.php to automate things like scheduled posts, the default behavior can be intensive and we can disable it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/","og_locale":"en_US","og_type":"article","og_title":"How to Disable the WP Cron (wp-cron.php)","og_description":"Learn about the need to disable the WP Cron (wp-cron.php). You will learn how to disable it in the file and using plugins","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-03-05T18:09:57+00:00","article_modified_time":"2026-01-22T14:33:17+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-wp-cron.jpg","type":"image\/jpeg"}],"author":"Jesse Owens","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Jesse Owens","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/"},"author":{"name":"Jesse Owens","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/db97af6358b0c1726e01e49180e5f71c"},"headline":"How to Disable the WP-Cron (wp-cron.php) in WordPress","datePublished":"2012-03-05T18:09:57+00:00","dateModified":"2026-01-22T14:33:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/"},"wordCount":1613,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-1024x538.jpg","articleSection":["WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/","name":"How to Disable the WP Cron","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron-1024x538.jpg","datePublished":"2012-03-05T18:09:57+00:00","dateModified":"2026-01-22T14:33:17+00:00","description":"WordPress uses wp-cron.php to automate things like scheduled posts, the default behavior can be intensive and we can disable it.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/disable-the-wp-cron.jpg","width":1200,"height":630,"caption":"Disable the WP-Cron in WordPress header image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/disable-the-wp-cron\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Disable the WP-Cron (wp-cron.php) in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/db97af6358b0c1726e01e49180e5f71c","name":"Jesse Owens","url":"https:\/\/www.inmotionhosting.com\/support\/author\/jesseo\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":56,"name":"WordPress Tutorials","slug":"wordpress","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57020"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=382"}],"version-history":[{"count":37,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":131462,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/382\/revisions\/131462"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}