Wordpress Missed Schedule Future Posts Fix

Category:Wikipedians who use WordPress
Image via Wikipedia

When I upgraded my Wordpress version to 2.7, the ability to schedule posts in Wordpress 2.7 no longer worked. I could still schedule a post but the scheduled time would come and go with no future post being published. All that I could see in the Wordpress dashboard was “Missed Schedule” no matter what I tried to fix this problem.

The Missed Scheduled Wordpress Posts Problem

After searching for a solution to Wordpress missed schedule problems it was clear that no-one seemed to know exactly why it was happening and how to fix it. The problem of future posts not working in Wordpress happened to some folks who upgraded from version 2.6.5 and not to others, and it happened to some folks who changed web hosts and again not to others. The Wordpress missed schedule error has also been known to happen to folks on one or two of their blogs and not on their other blogs. So clearly this issue needs to be resolved in future versions of Wordpress but for now there are a few suggestions that have been offered on the Internet.

Some fixes that were suggested for the scheduled Wordpress posts not working problem:

It is possible that certain web hosts are not allowing Wordpress cron jobs to run but for many that is not the issue as scheduled posting was working before upgrading their Wordpress version

You can see details of what some other fixes others have suggested as well as my fix in the Wordpress support forum in regards to this issue here

Here’s My Wordpress Missed Scheduled Posts Fix:

I’m a simple kind of chick and as such I downloaded Wordpress version 2.6.5 and had a look at the wp-cron.php file in the root directory as well as the cron.php file that resides inside the “wp-includes” folder. The code inside both files is quite different from the the Wordpress 2.7 file versions. In Wordpress 2.7 wp-cron.php there are references to “local-time” and the doing_cron option is set to zero. This is not present in the 2.6.5 versions of these files. So I decided that it might be possible that if your web server time is off by even a few seconds from the Wordpress official time the scheduled post may not go through. This is because the doin_cron argument is set to zero making it absolutely necessary that your web server and your Wordpress time match up pretty much exactly. Now I could have changed something in the code of these files but since I didn’t want to mess with variables I am unfamiliar with, so here’s what I did:

I simply opened up FireFTP and backed up two files to my desktop:

wp-cron.php (located in the Wordpress root)
cron.php (located in the “wp-includes” folder)

Then I uploaded the wp-cron.php file from Wordpress version 2.6.5 into the root of my Wordpress installation on my server. This overwrote the Wordpress 2.7 file version.

Next I uploaded the cron.php file from Wordpress version 2.6.5 into my Wordpress installation folder “wp-includes” on my web server. This overwrote the Wordpress 2.7 file version.

Lastly, I scheduled a post in Wordpress and when the time came it posted with no problems!

While this fix may not be for everyone and “Frankensteining” (yes I just made that word up) your Wordpress installation is not the best solution, it is a temporary fix until the next version of Wordpress is released and the issue is hopefully resolved.

I have included for download the two Wordpress files needed to fix the missed scheduled post issue in this post. Click on the download button, unzip the files and follow the directions in this post or the readme file that is included with the two files. Please note that these two files were obtained directly from the official Wordpress repository and are guaranteed virus-free.

  Missed_Schedule_Fix_WP_2.7.rar (2.9 KiB, 246 hits)

Reblog this post [with Zemanta]

13 Responses to “Wordpress Missed Schedule Future Posts Fix”

  1. Dang, I have been having issues with this for a while and just tried your fix to no avail.

    I’m so frustrated lol… how could this work fine in all the old version of WP but not in this one?

  2. I’m sorry this fix hasn’t worked for you…I’m pretty sure it has to do with the added line of “local time” in wp-cron.php and the time to do the job has been set to zero in this version as well instead of +30 like in previous versions….could there be a problem in your time settings in the admin or with your server? Keep me informed as I would like to know if this issue can be resolved for you.

  3. Awesome! Your fix worked! Great job, Jade. Thank you. Thank you. Thank you.

    http://blog.keithparnell.com/index.php/2009/01/21/wordpress-27-issues/comment-page-1/#comment-547

    Are you on Twitter so I can promote your fix? Catch me at http://twitter.com/parnellk63 if you are. Thanks again!

  4. I’m glad this fix worked for you Keith and yes I’m on Twitter http://twitter.com/jademayari

  5. Found your fix through the WordPress support forums. It worked for us! Thank you so much!

  6. You’re very welcome :)

  7. It's doesno work in my blog http://www.hamroblog.com
    Plz plz help me

  8. It's doesno work in my blog http://www.hamroblog.com
    Plz plz help me

  9. Try looking over at the Wordpress Support forum for more solutions other Wordpress users have tried. The fix I have posted here has about a 90% success rate due to the differences in server types. Good luck

  10. thank you,that's a wonderful idea.i got it.

  11. You’re welcome…glad I could help :)

  12. [...] Wordpress Missed Schedule Future Posts Fix | New Blog Help – [...]

  13. It works!
    Thank you so much! That´s really works for me. I tought my theme was causing that, then the new PHP pn server, almost going crazy about it. Thank you so much.

Leave a Reply