Wordpress Missed schedule problem [Solved]

by Harsh Agrawal on December 23, 2009

in Wordpress

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)) );

wp thumb 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.

Related posts:

  1. Wordpress Missed schedule Problem in Wordpress 2.9
  2. Wordpress 2.9.1 Released Fixed Bugs Including Missed Schedule Bug
  3. Wordpress Blank Page Super cache Plugin problem Solved
  4. Wordpress Fatal error: Allowed memory size Allowed memory Size
  5. Wordpress Error while Updating Wordpress
  6. Wordpress 2.9.1 Beta1 Released Fix 14 Bugs
  7. How to secure your wordpress plugin folder listing
  8. How to edit your wordpress .htaccess file


{ 14 comments… read them below or add one }

1 Sunil Jain December 23, 2009 at 00:56

Uff Thank god :) At last i found some solution
Thanks Harsh :) :)

Reply

2 HackIdeas December 23, 2009 at 01:37

Thx Harsh. Will sure try if this works.

Reply

3 Michael Aulia @CravingTech December 23, 2009 at 04:45

Well I heard WordPress 2.9.1 is just around the corner to fix this problem but so far all my posts are scheduled fine.

Reply

4 Timo December 23, 2009 at 07:37

Thanks! Worked fine with changing the value from 0.01 -> 1.
And have a great Christmas!

Reply

5 Paritosh December 23, 2009 at 16:23

Made the changes just now. Hope things work out….

Reply

6 MQ Hidayat December 27, 2009 at 16:47

Thanks for this info.
I see this problem until 2.8 ver.

Reply

7 Eating Disorders December 30, 2009 at 08:24

thank you for this tutorial, now all my problem is solve

Reply

8 Ari Herzog December 30, 2009 at 10:52

Thanks for sharing this information, as I just experienced it!

Reply

9 letianmoon January 11, 2010 at 21:01

Thank you for sharing it is really useflu.

Reply

10 green January 16, 2010 at 17:29

not solved my problem

Reply

11 Glupais February 2, 2010 at 17:46

Mine too… :( WP 2.9.1

Reply

12 Glupais February 4, 2010 at 12:13

Found solution. I added a record 127.0.0.1 domain.com to /etc/hosts file. I had a routing problems.

Reply

13 Professional Copywriter March 3, 2010 at 15:32

Has anyone implemented this and still found it hasn’t worked? I’m a little annoyed *shakes fist in the air*

Reply

14 Kevin March 8, 2010 at 16:39

No, this solution did not solve my issue either. :-(

Reply

Leave a Comment

Previous post:

Next post: