Wordpress Cron Setup, "Missed Schedule" Error

Scheduled posts are not working on my wordpress site, I get the “missed schedule” message on my post page. I attempted to setup a cron job in crontab to run every minute which would trigger any scheduled posts, but it doesn’t seem to be working. I am running W3 Total Cache and I have tried it with W3TC on and off, also shut off non essential plugins.

I first added this text to my wp-config.php:

define(‘DISABLE_WP_CRON’, true);

Then went into my console and did:

crontab -e

And then added the following text…

*/1 * * * * wget > /dev/null 2>&1

All the articles I’ve read say this should do it. Any idea’s?

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.

This is what worked for me. <br> <br>1) Checked that cron was running on droplet: <br>> pgrep cron <br>It will return a number if it is on and working. My cron was running but if it needs to be restarted do: <br>> service cron restart <br> <br>2) Increased file permission for wp-cron.php to 755 <br>> chmod 755 /whatever/your/directory/is/wp-chron.php <br> <br>At this point I could get scheduled post to work with W3 Total Cache OFF but not ON, so the problem was still not fixed. <br> <br>4) Installed WP Missed Schedule Fix Failed Future Posts Plugin and turned W3 Total Cache ON. <br> <br>Everything is running great, plus by turning of the WP Cron it has reduced the CPU load as it is not running wp-cron.php every time the site gets a visitor. Hope this helps someone else! <br>