So my last post was about missed schedule problem in wordpress 2.9. Because of this problem I missed posting many posts which were scheduled.
After looking into lots of solution in wordpress support forum community , I realize the problem is with WordPress cron jobs. And there is a quick and easy solution to this problem. but to resolve this issue we need to edit our cron.php file which is into wp-includes folder.
Make sure before you start editing your cron file , take a backup of this file . So that while editing if you make any mistake, you can always revert back to previous state.
To start with fixing missed schedule problem , access your wordpress files using any FTP client. Download cron.php file from wp-includes folder.
Look for line
wp_remote_post( $cron_url, array(‘timeout’ => 0.01, ‘blocking’ => false, ‘sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );
Change the timeout to some higher value . In my case I changed it to 10 sec, by simply changing
‘timeout’ => 10, ‘blocking’ => false
<Source>
I’m sure many of you who are facing this problem, will find this solution very useful and will make most out of WordPress scheduling feature.
Do let us know if you find any other bug in WordPress 2.9.
Subscribe Updates, Its FREE!





→
{ 14 comments… read them below or add one }
Uff Thank god
At last i found some solution
Thanks Harsh
Thx Harsh. Will sure try if this works.
Thanks! Worked fine with changing the value from 0.01 -> 1.
And have a great Christmas!
Thanks for this info.
I see this problem until 2.8 ver.
thank you for this tutorial, now all my problem is solve
Thanks for sharing this information, as I just experienced it!
Thank you for sharing it is really useflu.
not solved my problem
Found solution. I added a record 127.0.0.1 domain.com to /etc/hosts file. I had a routing problems.
Has anyone implemented this and still found it hasn’t worked? I’m a little annoyed *shakes fist in the air*
No, this solution did not solve my issue either.
Didn’t work for me. Our case is an issue with media temple dv hosting though it seems.
By “solved” you mean “still happening in 2.9.2″
Will this work with 3.0 version (current WP version is 3.0.1, haven’t updated yet)? 2 minutes elapsed now, red text “Missed schedule”.
Thanks in advanced.