cron is disabled on your site
-
I’ve just moved from site from one hosting company to BlueHost and I’m getting this message:
It seems cron is disabled on your site. Please enable cron before running Bulk Smush to ensure everything works as expected.
I spoke to BH and they check the server and could not find any issues.
Any help, please?
Thanks.The page I need help with: [log in to see the link]
-
Hi @buildblog ,
I hope you’re doing well.
This cron issue is usually related to server issues, but I understand that you already reached them and they confirmed that there are no issues on their end.
Could you confirm if you have any errors/reports under your wp-admin > Tools > Site Health, if possible, and if it doesn’t share any sensitive data, could you please share a screenshot with us?
You can use a service like Google Drive to share it, keep in mind setting the share link as public so we can check it.
Also, could you please check your wp-config.php file and confirm that this line is not added?
define( 'DISABLE_WP_CRON', true );You can also find more info here – https://wpmudev.com/docs/wpmu-dev-plugins/smush/#stuck-failed-bulk-smush-or-scan
And here is a good doc to check for WP Crons – https://wpmudev.com/docs/using-wordpress/system-cron-custom-cron-jobs/
I hope to hear back from you soon.
Best Regards,
Williams ValerioWilliams
Thanks for your reply.
I do have the following errors (under your wp-admin > Tools > Site Health)
You should remove inactive plugins
You should remove inactive themes
A scheduled event has failed (The scheduled event, wp_privacy_delete_old_export_files, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.)
You should use a persistent object cache
Your site could not complete a loopback request (Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability. The loopback request returned an unexpected http status code, 409, it was not possible to determine if this will prevent features from working as expected.)
define( 'DISABLE_WP_CRON', true );is not in wp-config.phpThanks
Hi @buildblog
A scheduled event has failed (The scheduled event, wp_privacy_delete_old_export_files, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.)
Kindly install the WP Crontrol plugin https://en-au.wordpress.org/plugins/wp-crontrol/ and see if it reports any issue. But this could still indicate a cron issue, by default WordPress trigger the cron when user access the website, could you please give it a try by configuring a real cron that runs every 5 minutes? You can follow this guide https://wpmudev.com/blog/set-up-cron-job-cpanel-wp-cron/
Let us know the result you get after the cPanel cron.
Best Regards
Patrick FreitasThanks Patrick.
I installed the WP Crontrol plugin and this message is at the top:
There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron events on your site may not work. The problem was:
Unexpected HTTP response code: 409
One thing I did notice in the BlueHost hosting.
My primary domain is a temporary domain: zvv.mif.mybluehost.meMy ‘real’ domain is: https://nevertoolateforgreat.com
I did contact BH thinking that could be the issue but they said ‘no, that would not cause such a problem’.
Any ideas?
Thanks,
Hello @buildblog
Since wp crontrol also confirmed there is an issue with cron jobs, there might be a bad code in your plugins, or theme that causing the loopback and cron jobs to not work.
My suggestion is to run a full conflict test by disabling all plugins and switching to a default theme like 2025, once its done, you should check the site health for any errors and then re-enable plugins one by one to find the cause.
https://wpmudev.com/docs/getting-started/getting-support/#conflict-testKind Regards
AminHi! The error Unexpected HTTP response code: 409 means the request could not be completed due to a conflict with the current state of the resource. Several factors that cause this kind of error: plugin conflicts, theme issues, caching, and etc. We recommend to disable all the plugins and reactivate them one by one to identify which plugin is causing the issue. If there is nothing wrong with the plugins, you may also try switching the theme to default to determine whether it’s caused by your current theme and to rule out theme conflicts. Make sure everything is updated, like your plugins, themes, and WP core files.
If everything still fails, please reach out to us by contacting our support either via chat or phone.
This is definately a BlueHost issue. I decided to copy the site to another hosting company as a test and the issue resolved itself. All plugins, themes etc are the same on both sites. I get the message on the BH hosting but not the new hosting.
Thanks.
Hi @buildblog
I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!
Kind Regards,
Kris
The topic ‘cron is disabled on your site’ is closed to new replies.