7fa92129f11aa36c4821fb915c5a8814

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 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. Blogspot to WordPress Import Problem Solved : Blogger to WordPress Migration
  5. WordPress Error while Updating WordPress
  6. WordPress Fatal error: Allowed memory size Allowed memory Size
  7. WordPress Host Migration Weird Character problem [Solved]
  8. 3 Ways to Automatically Backup WordPress Blog (Database + Files)

Do you like this story?

Wpfreelancer

{ 17 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

15 Ryan June 19, 2010 at 08:02

Didn’t work for me. Our case is an issue with media temple dv hosting though it seems.

Reply

16 Mark July 23, 2010 at 23:22

By “solved” you mean “still happening in 2.9.2″ :P

Reply

17 ipad apps August 5, 2010 at 12:42

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.

Reply

Leave a Comment

Previous post:

Next post:

ShoutMeLoud on Twitter ShoutMeLoud on Facebook ShoutMeLoud RSS Feed