Kevin MuldoonHow to fix the missed schedule bug in WordPress 2.9

WordPressYesterday (December 31st), there were 3 posts scheduled for BloggingTips, all of which had been written and set to publish using the WordPress schedule feature. One from myself, Sharon Hurley Hall and Patti Stafford.

Unfortunately, none of the posts published at the times they were supposed to. I checked the post area in WordPress and I got the message ‘Missed Schedule’. I had never came across this before and assumed that my server had been down for a while. So I set Sharons post to publish within a few minutes to see if it would go online. I checked a few minutes later and once again the post didn’t publish.

I did a search on the WordPress forums and quickly found out that this was a bug in WP 2.9. I didn’t update WordPress to the latest version until yesterday so it never happened before now. Another two bugs were also found in this version.

Apparently, the bugs have been fixed in WordPress 2.9.1 beta. However, I decided to install this bug fix from Semiologic. You simply need to upload the 3 files to your wp-includes folder and overwrite the corresponding files. I installed this myself and everything seems to be working ok so I would personally recommend this over the beta version, however feel free to install the beta version if you wish (and let us know if it fixes the problem).

Good luck,
Kevin

Follow this blogger on Twitter!

Kevin Muldoon Written by Kevin Muldoon from WordPress Mods
Posted on January 1st, 2010 and filed under WordPress
Do not forget to subscribe to our RSS feed for updates
  • Digg This Post
  • Tweet This Post
  • Stumble This Post
  • Submit This Post To Delicious
  • Submit This Post To Reddit
  • Submit This Post To Mixx

14 Responses to “How to fix the missed schedule bug in WordPress 2.9”

Author comments are in a darker gray color for you to easily identify the posts author in the comments

  1. Indrek says:

    I’ve also heard about this bug from several other bloggers. Although I’m also using 2.9 my scheduled post was published on time. That’s a bit weird.

    But I’ll have a closer look at Semiologic’s bugfix just to satisfy my curiosity.
    Thanks!

  2. Many WordPress users report their self-hosted WordPress site missed scheduled posts. The earliest reports of the “missed schedule” posts date back to WordPress version 2.7, with more frequent reports noted with the WordPress version 2.9 upgrade.

    I believe this is because the timeout value is too short: wp_remote_post($cron_url, array(‘timeout’ => 0.01, ‘blocking’ => false));

    When making a request to wp-cron.php, it won’t return until all cron jobs are executed. And 0.01 is too short. It doesn’t hurt to extend the time span, as much as 10 minutes even. It will return as long as the mature crons are fired up and executed; in most cases only a few seconds.

    For those of you who know how to edit the /wp-includes/cron.php file, simply edit 0.01 to 10 and extend the time allowed for running future scheduled posts.

    Detailed instructions for extending the timeout value in /wp-includes/cron.php are in this post.

  3. Kikolani says:

    I just upgraded my WordPress to 2.9 on a few sites, and scheduled posts on two of them, both of which went as scheduled. I’m glad I didn’t run into that issue, but in case it does occur on another one of my sites before the 2.9.1 version arrives, it will be good to know how to fix it. Thanks!

  4. Kate Foy says:

    Thanks for this. This bug bit my blog yesterday morning. I had not had a Missed Schedule report prior to this and thought I was going nuts trying to fix it! Thanks for the advice. I’m going to apply the Semilogic’s bugfix on my test blog and schedule another.

  5. Laura says:

    I’ve been having the same problem. I found a work around by making it a draft post, then making a small change in my post and then let it save itself and then the next time it would publish. Kind of annoying. Also bad because I use Scheduled posts a lot so I can rely on making my daily posts without having to be home every day to post it.

  6. WPExplorer says:

    I had encountered this bug but just ignored it and figured it would be fixed in the next update. Thanks for the work around.

  7. Muvee Tivee says:

    i’ve experineced this many times and i don’t know what to do. The post were not even published and index but it says blah blah minutes ago

  8. I’ve had this problem with 2.9 and also 2.8. It became annoying as I had posts that I wanted to publish over the holidays but had to wait until I was at the PC to do it.

  9. Anish K.S says:

    I am facing a different issue, extra p tags creating inside posts, if we edit the posts.

  10. I thought the schedule didn’t want to roll over to the next year. I tried to schedule my post here for Jan. 1, 2010–I did this on Dec. 31, 2009. I was thinking Y2K–not a WP bug. :)

    This is all strange because I have to schedule all of my posts here. Since I edited a post once it never lets me publish immediately. The only way I can get around an immediate post is to schedule it one minute from the time it actually is. Of course I only have this problem if I’m behind schedule and need to post immediately. I normally try to have it ready to post the day before it’s due.

    I haven’t updated my WP yet but when I do it’s nice to know I can fix the problem if I need to.

    I love WP, but when it’s acting up, I almost hate it. LOL

    Thanks for the info Kevin.

Trackbacks

Comments are closed.

Comments are closed since this post is older than 30 days. However, you can continue this discussion in our popular Blogging Forums

Subscribe To BloggingTips Via RSS Subscribe To Blogging Tips Via Email Follow Us On Twitter Follow us on Facebook Find Out More About Our Newsletter

Sponsors

Blogging Tips Newsletter

Six Figure Blogging

Our WordPress Themes

 

Our Free E-Books