Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am currently in version 3.1 of WordPress and I have a problem with planning my post. In fact, whenever I plan a post, it is written: "Scheduled missed. Could you help me please.

Thank you in advance

Francis NIKOU

share|improve this question

migrated from stackoverflow.com Apr 26 '11 at 16:27

2 Answers

up vote 4 down vote accepted

Due to your server configuration, you may need to use the alternate cron method, which uses redirect rather than http loopback.

Try adding the following to your wp-config.php file:

// Alternate cron method 
define( 'ALTERNATE_WP_CRON', true );
share|improve this answer
Thank you for the answer. The bug is fixed. – Onita Apr 27 '11 at 8:58

The missed schedule is due to wordpress timeout in the cron process. Go to wp-include/cron.php, around line no 248, change the value of 0.01 to a larger number.

in my case, I changed from : wp_remote_post( $cron_url, array( 'timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters( 'https_local_ssl_verify', true ) ) );

to

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

remember this cron.php is a wordpress core file, it will get overwritten when you update your wordpress core. So after every update, remember to change the value again.

If this doesn't work for you, make sure your timezone setting is set correctly. The setting can be found at: Settings > General

share|improve this answer
No - do NOT change core files - if you do, when you upgrade WP, your change will be lost. – anu Jul 11 '12 at 17:11
-1 for hacking core. See the accepted answer. – Chris_O Jul 12 '12 at 7:00
-10000 for hacking core. Don't hack core, even if you find no other solution (which is highly unlikely) – kovshenin Dec 10 '12 at 18:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.