WordPress Post Missed Schedule Issue and Solution

What Is Cron

Cron is a UNIX scheduling tool.  It automatically runs jobs at the given time.  Normally, it is controlled through a file and/or commanline tool known as crontab.  It is unlikely that these would be directly accessible on a hosting server, but many provide a GUI interface that allows a site admin to setup a local crontab to run for their site.

Why Turn It Off

If you have worked with cron or some other scheduler in the past, you probably realize that they create a thread or process that simply goes to sleep for a specific number of clock ticks. After the specified period of time, the thread wakes up and checks the queue for any pending jobs.  If there are any, it will process the queue. Then, it will once again go back to sleep.

WordPress’s wp-cron works nothing like that, however. The PHP files on a WordPress are processed whenever a user hits the site.  When that occurs, WordPress will go through its configuration files to see what processes and files to load and then which and how to present them to the user.

Notice that this is done for every user!  Therefore, WordPress will run the wp-cron.php file every time a user hits the site!  It seems that this constant loading can put quite a bit of load on some servers.

You can appreciate why some hosting services will choose to disable the ability for this function to run. You can also appreciate why there are some caching plugins out there that reduce server load by creating cached HTML files that are ready to serve up rather than recreate them every time.


  1. Set a cron job via your cPanel/Plesk to directly run wp-cron.php file in root directory in every minute,every hours,every day, every week,every month, every year.
  2. Add below code to wp-config.php in your root directory.
  3. It should work now, but if it times out, you need to edit the cron.php file in the wp-includes directory; Then change the timeout value from 0.01 to 1.00 for wp_remote_post.

    Save the file and test.

  4. If you have used any plugin to manage this issue (like WP Missed Schedule), please deactivate it.

>>>>>>>>>>>> What I meant is it (your plugin) will check for the ‘Missed schedule’ posts in every 5 minutes, right?. So in some cases it may causes a delay(around 5 mins) in publishing the post than the actual time of publishing. Please ignore it.

One thought on “WordPress Post Missed Schedule Issue and Solution

  1. (Paperback) I had to come back and re-review this book. I’m taking off two stars off my raintg, one for the overload of typos I found as I got deeper into the book and for some of the examples NOT being real world enough. I know that sounds picky but many of the examples could have served better as real scripts but instead he made some questionable choices that will make you pretty much have to start from scratch to make your own. They just could’ve been more practical. On the positive side, I do agree with what’s already been said about the author communicating well. The reason I was really excited about this title and why I’m loving it so much as I go through it is that it focuses on combining all three and talks about real-world situations. You might read a PHP or javascript book that does the job teaching you those on their own but when it’s time to close the book and use them on a real website, you’d be lost or Googling a LOT of things. Most cool sites do a good job of making their scripting languages work well together, and this book will show you how to do that, and it serves as a good jump-off for more advanced scripting later. It’s like the author said I know what you’re trying to accomplish, here’s how to do it. Good job.

Leave a Reply

Your email address will not be published. Required fields are marked *