Fix WordPress 2.9 bug – Showing Missed Schedule for Scheduled Posts

WordPress recently released much awaited WordPress 2.9 version bundled with lot many new features. But this time something messed up with the post scheduling. When you will schedule a post for future date/time, It will be scheduled perfectly and show the status as “Scheduled”. But the post will not get published on that time and the status message will change to “Missed Schedule”.

I looked into the JavaScripts as well as PHPs and tried to track the issue. But then I realized that the issue was already there in previous versions as well but the reason behind not getting that was less system load. Since WordPress 2.9 is bundled with more features, the system load also increased and because of that we are facing this issue frequently in WordPress 2.9. So here is the solution for this problem.

Problem: Getting error message “Missed schedule” on scheduled posts

wordpress-missed-schedule

Solution:

This error in WordPress 2.9 bug is because of the slow response of the system at the scheduled time. Actually this issue was already there in previous version of WordPress as well but this time it is throwing error more frequently. If you want to resolve this issue in your WordPress setup then here is the solution for that.

Edit the line number 229 in WordPress 2.9 folder’s cron.php file available in wp-includes folder.

Before and after the change code is pasted below:

Before the changes

wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) ); 

After the changes

wp_remote_post( $cron_url, array('timeout' => 10.00, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) ); 

Here I have changed the timeout time from 0.01sec to 10sec which will work fine for your case. You may change it to higher value as well.

We are waiting for the fix from WordPress side because lot many bloggers are facing this issue. In the mean time you can do the above changes (workaround) for smooth and successful scheduling of your posts.

For other tips and tutorials on WordPress, Checkout our WordPress Section

Sanjeev Mishra is a professional blogger and an Internet Marketing Consultant based in India. He has built the Internet Techies to provide you updates in technology and web application area.