Missed scheduled WordPress

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.

Related posts

Leave a Reply

2 comments

  1. 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 );
    
  2. 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