Word Press have missed schedule issue from 2.7 version onwards. Word Press post scheduling was working fine upto   2.6.5 version as many of users reported on web.  You can schedule wordpress post to publish on a specified time. but when time comes post can not publish and shows missed schedule in the admin area.  According to WP guys, this is not the issue that Word Press guys can fix. This issue comes when your web server can not properly execute wp-cron process.  New wordpress wp-cron method run wp-cron in separate process that rely on web server configuration. Everytime Word Press loads it looks for wp-cron whether it should be run or not based on the time it was last run.

Here are some reason that prevent Word Press to run wp-cron correctly.

  • Server doesn’t have DNS, and so it can’t figure out who “example.com” is, even though it is *itself*.
  • Server administrators, in a misguided attempt at security, have blocked “loopback” requests, so it can’t actually make a call back to itself.
  • Server is running something called “mod_security” or similar, which actively blocks the call due to brain-dead configuration.

There is simple to complex workaround to solve this issue. This problem automatically fix when your server is configured to run wp-cron properly but it require server root access and extensive server administration knowledge. So server configuration method is simply not for everyone to use. There is simple workaround to fix this issue that force wordpress to run wp-cron using alternative method that does not rely on web server configuration. To fix the issue add below line in the wp-config.php file. This line can be add anywhere in the wp-config.php file.

[php] define(‘ALTERNATE_WP_CRON’, true);
[/php]

This should restore wordpress schedule functionality.

Written by Bala Krishna

Bala Krishna is web developer and occasional blogger from Bhopal, MP, India. He like to share idea, issue he face while working with the code.