“Missed Schedule” posts in WordPress 2.9, and a fix

Listen to the time

Creative commons licensed
Photo credit: lrargerich

I learned a lesson today – never take smooth software upgrades for granted. I’ve been using WordPress for over six years now (blimey, that’s actually quite scary) and have never had a hitch with it. This morning, though, after upgrading to WP 2.9 a post missed its scheduled post time.

It turns out this isn’t so much a problem with WordPress as a problem with a slow system. The process that publishes scheduled posts timed out and didn’t complete the job. The problem is, I guess, that WP 2.9 is a little slower than WP 2.8… at least on my server!

That’s very frustrating because, as I’ve written before, I always schedule my posts in advance. I just prefer to work ahead of myself rather than hitting publish as soon as I’ve finished writing something.

Fortunately, there’s a fix for this, worked out by some of the brilliant people at the WordPress.org forums. It’s a temporary workaround until a patched version of WordPress is released, but it will at least help you avoid missing the scheduled publish time again! You’ll have to be a bit techy to make the change, as it’s an alteration to some of WordPress’ code.

The file you are changing is /ROOT/wp-includes/cron.php, and the changed line can be found here.

I’ve made the change to Geek-Speak’s cron.php file, and am about to schedule this post to go live in a few minutes… if you’re reading it, the patch works :)

Join us on Facebook

Facebook icon

Declare your geekdom for the world to see... well, the part of the world that's on Facebook anyway.

Visit our Facebook page to keep up to date with the latest Geek-Speak posts right in your Facebook stream, as well as hearing about discounts and offers before they're posted on the site.

What are you waiting for? Head on over and "like" us.

Facebook icon used under CC license


  1. Thank you for the information. I had this problem as well and this was a quick fix and I'm so relieved!

  2. No problem, I'm glad to have been able to help!

  3. Thanks for the help mate. I schudule 50% of the posts on my site and I was devastated when I saw a number of them being missed this morning. Sucks that we have to deal with slow shared servers.

  4. Yeh, very frustrating, isn't it? I'm glad you found a solution though – always happy to help :)

  5. hayley says:

    Was really annoyed to wake up from a 15hr sleep with all my posts still queued. Never had that before. Thanks to your fix it looks lke it solved.

  6. Thanks Hayley – it's definitely fixed the problem for me; this morning's scheduled post went live as normal.

    I hasten to add that I only found the fix, I didn't come up with it myself. I've edited the post to make that a bit clearer! Having said that… I'm happy to have helped you find the solution too.

  7. Glad you've not had any problems with 2.9! I'd have expected the later versions to show up this problem more as they get more and more complex… but obviously not :)

    Hopefully you'll never come across this, but if you do, you know where to find me.

Comment are closed: Sorry, comments are closed on this article. We automatically close comments on older articles to try and cut down on the amount of spam comments being submitted to the site.

If you want to tell us what you think about this article, why not visit our Facebook Page or Subreddit and leave a comment there instead?