How to disable WP Cron in WordPress

Learn how to disable the default WP Cron in WordPress.

We recommend disabling the default WP Cron service in your WordPress and replacing WP Cron with a a real cron job in cPanel.

How to disable WP Cron in WordPress

  1. Open your wp-config.php file located in the main WordPress folder. You can use any code editor or the cPanel File Manager Code Editor.
  2. Below the last line of code the below code on the last line;

    define('DISABLE_WP_CRON', true);


  3. Save and if required, upload the file to your web space.

Now when someone visits your website, WordPress will not load the wp-cron.php file.

To setup a new cron task for your WordPress site see our help guide; How to Replace the WordPress Cron with a cPanel Cron Job.

  • disable cron, wordpress cron, cron
Was this answer helpful? 0 Users Found This Useful

Related Articles

How to Manage Bandwidth Limit Exceeded and Avoid Account Suspended on WordPress

Dear Value Customer,Due to Bandwidth Limit Exceeded with Most of Our Customer that are using...

"Error Establishing a Database Connection" in WordPress

In this article we will look how to resolve the "Error Establishing a Database Connection". There...

How to use Jetpack / WP Super Cache with WordPress?

Beta Host Limited servers block remote connection to xmlrpc.php or, wp-cron.php for security...

How to Bypass Beta Host WordPress Login Security?

Beta Host Limited servers have wordpress bruteforce protection, so you may see a POPUP...

How To Get 3000 Backlinks In One Day

Backlinks are one of the most important components of having a successful website therefore we...