Question

WP-Cron Not Working

WP-Cron doesn’t work on my installation. I can manually force tasks to run using a plugin like Core Control, but they don’t run by themselves. I’m visiting my site regularly during development, so it isn’t an issue of traffic. I’ve updated permissions on wp-cron.php to 755, as I found suggested somewhere. I’m running a LAMP stack on CentOS 6.5. I know there are plugins available to replace WP-Cron, but I’d really like to get the default system running if I can. Any ideas?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I don’t know if your cron settings are right, i use WP plugin at http://wordpress.org/plugins/easycron/.

Do you have any kind of caching set up? Unlike an actual system cronjob, WP-Cron requires a user to make an http request to the site, so cache sometimes gets in the way of this. Every time a request is made, WP_Cron checks to see if there are any cron jobs to process, and if so runs them. <br> <br>There’s a lot of useful information over on this StackExchange post: <br> <br>http://wordpress.stackexchange.com/questions/93570/wp-cron-doesnt-execute-when-time-elapses