-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: Detect if CRON is disabled #1472
Comments
+10000 |
@Tabrisrp What design changes does this need? My original suggestion was for an admin notice like we have for incompatible plugins. |
Good news is, it's automatically included in WP 5.2 Site Health Check tool, so we don't have to develop our own |
I still think showing an admin notice would be more effective. Customers are going to enable Preload / Critical Path CSS and say it's not working and write to us. We could piggyback on 5.2's features to do this hopefully. Lets wait till 5.2 is actually here. |
I'm kindly re-open this issue. A notice to warn our users or grey out our options will be helpful |
Re-opening this issue as discussed in the QA channel. With the 3.3.7 update, here is what we did:
False positives At the time of writing, we have 9 false positives reported where customers saw this notice even when cron was working correctly. This could be because of an edge case.
Next Steps We will continue to monitor tickets about this and make a decision about whether to make changes in a future update. Related conversations: |
WP Rocket needs CRON for multiple operations. Critical Path CSS generation, Preload, Database optimization etc.
WP CRON being disabled is a common issue for why these fails. We could try and detect if WP Cron is disabled.
DISABLE_WP_CRON
constant.When to detect?
It doesn't make sense to detect unless the user is trying to use a feature that needs WP Cron. Check for WP Cron when user enables Preload, Critical Path CSS generation, or database optimization
Thoughts and notes
The text was updated successfully, but these errors were encountered: