I’m working on a particularly large WordPress multisite network, and have been struggling with WP-Cron. It seems that WP-Cron tasks are being scheduled, but not run.
The WP-Cron tasks are not being run on either our staging or production environments, but locally, they run fine. The instances are all identical—multisite, with the same set of sites, the same theme, and the same plugins activated (and same versions of plugins). There are slight differences in the version of PHP on the server and in my local sandbox, but the WP versions are the same (a little behind the current – 3.5.2)
I’ve tried clearing the queue, and hitting the cron script directly (/wp-cron.php?doing_wp_cron), but without success. I even tried scheduling a call to that script in an actual cronjob, but with the same result—nothing.
I double-checked that DISABLE_WP_CRON
is not present in the wp-config file, and even played with defining that constant to false
.
Any insight into why it might not be running, or how to force it to run, would be very helpful.