WordPress High CPU Usage From wp-cron.php: How to Reduce It
wp-cron runs on every visit and can overload small servers. Move it to a real cron job.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
By default, WordPress checks for scheduled tasks on page loads. On a busy site, or one with bots, this can run too often.
Fix
- Add
define( 'DISABLE_WP_CRON', true );towp-config.php. - Add a real cron job in your hosting panel that calls
wp-cron.phpevery 5 to 15 minutes. Details: our scheduling guide.
Check what the tasks are
A plugin may schedule heavy jobs such as backups, imports or security scans every few minutes. Reduce their frequency.
Block abuse
Bots hitting wp-cron.php directly are controlled with a firewall rule or rate limit. See our limits guide.
Related guides
- WordPress Site Is Slow: Practical Steps to Speed It Up
- WordPress Site Slow After an Update: Find the Cause
- WordPress Images Look Stretched or Wrong Size: Regenerate Thumbnails
- Changes Not Showing on Your Website: How to Clear Every Cache
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.