Scheduled posting not working

I have WordPress 3.5.1 and I use Bluehost hosting service. When I schedule posts after that time passed, WP posts dashboard shows “Missed schedule” message under the date. Then I checked my wp-config.php has define('DISABLE_WP_CRON', true); there’s no such a define line. Then I added define('DISABLE_WP_CRON', false); under the database lines. After that I added following code to my .htaccess file.

<Files "wp-cron.php">
Allow from All
Satisfy Any
</Files>

But still this issue not fixed. What is the reason? Is it my hosting company issue or my WP issue? How do i fix it?

1 Answer
1

You don’t need that line in wp-config.php as wp-cron is enabled by default.

If you install the Cron View plugin you are able to see when the different jobs are scheduled. You can then trigger wp-cron manually by going to this URL with your browser:

http://your-domain.com/wp-cron.php?doing_wp_cron

If after this the actions you expected where successfully performed. You really have a problem with your hosting provider. Maybe he has cURL/fsockopen disabled or the DNS is not properly configured so he can’t resolve an IP for your domain. In that case you would need to contact tech-support.

Leave a Comment