How to resolve WP-CRON causing high resource usage

WP-CRON is utilized by plugins and some WordPress core functions to schedule tasks such as backups, publishing scheduled posts, or conducting scheduled virus scans. 


WP-CRON is triggered to look for any scheduled tasks that need to be executed each time the site is accessed, even if the accessed page does not involve any scheduled tasks. 


This consequently leads to a significant volume of WP-CRON requests being sent to the server during periods of high traffic, which can make a straightforward website resource-heavy. 


To address this issue, we will disable WP-CRON and rely on the system cron instead, ensuring that WP-CRON is not run. 


How to disable WP-CRON

  1. Navigate to your WordPress root directory and open the wp-config.php file.
    This can be done via FTP or through the File Manager of your respective control panel. 

  2. Add the following line of code directly above the line ‘/* That’s all, stop editing! Happy blogging. */’
    define('DISABLE_WP_CRON', true);

  3. Save the changes to the file.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.