WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

One of my sites consistently fails to publish scheduled posts. I've tried disabling plugins, using Twenty Twelve, etc. with no luck.

I installed the Core Control plugin and noticed that there is no function associated with the publish_future_post hook. On my other sites, there is a hooked function check_and_publish_future_post() but it's missing on this particular site.

My questions are (1) how the heck did this happen and (2) how do I fix it? I've tried a clean install of Wordpress (other than wp-content) with no change. I've reached the limit of what I'm comfortable doing without some guidance, so I'm hoping someone here can help.

share|improve this question
Okay, I still have no idea what went wrong but I did manage to fix it. I added a function to force the correct time zone, even though it's set correctly on the server and in Settings > General. I have no idea why this particular install doesn't want to work like the others. – nabm Jan 15 '13 at 7:55
up vote 0 down vote accepted

You can also disable the auto wp-cron from loading and setup a manual cron job on your server.

Add the following line to your Wp-config.php define('DISABLE_WP_CRON', true);

and then on your server/control panel create a cron job to run the following:

wget http://www.yourdomain.com/wp-cron.php > /dev/null 2>&1

I run mine every 5 minutes.

share|improve this answer
Thanks! That might be an option as well, though I hate the thought of scheduling everything manually. – nabm Jan 15 '13 at 15:25

Your Answer


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.