I am experiencing some very annoying and strange issues with wp-cron.php on my website.
It all started when I noticed high CPU usage on the server, and then tracked it down to the issue of wp-cron.php spawning on every page view. I discovered that we’re supposed to be able to stop that by defining the DISABLE_WP_CRON constant in the wp-config.php file and scheduling a proper cron job in the server control panel, which I did.
My hosting company support checked out what I did, and agreed that it was set up correctly.
However, wp-cron.php still spawns every time a page is accessed on the site, whether by a visitor or a bot, to the extent that it accounts for more than 50% of the CPU usage on the site.
The hosting support folks can’t explain it, and they don’t know how to prevent this from happening, so I thought someone here might know.
I’ve searched all the code in all of my plugins (active and inactive) for any reference to wp-cron.php with no luck, so I don’t think any of those are at fault, but who knows?
Anyone here have any ideas?
- The topic ‘wp-cron.php Running Despite DISABLE_WP_CRON’ is closed to new replies.