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
Wrong warning: The WordPress CRON jobs system is disabled. #25477
Comments
Hi @donnchawp How to hide incorrect warning? |
I think the warning should stay but it should be possible to dismiss it. Some users will have hosts that have the cron system disabled entirely and they'll wonder why garbage collection isn't working. On the other hand, if it's dismissable, the user may forget that cron is disabled and wonder why their garbage collection has stopped working. |
For example I have system cron set up: https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/ It requires to set: |
@donnchawp said:
It is not dismissible yet, unfortunately. I am in the same boat, WP cron is disabled but I have system crons running instead for improved performance. This error reported by Super Cache is misleading. |
I recommend adding a checkbox in the plugin settings "This site is using real cron in conjunction with |
Any news? |
This issue has nothing to do with Super Cache. However if moving it to this component solves it faster I'm game. |
Well for me it has a bit to do with Super Cache because I never get the error until I install Super Cache on any site. I suppose you're saying all Super Cache is doing to expose it is implementing garbage cleanup, thereby exposing an erroneous error inherent in Wordpress? I've used another caching plugin with garbage cleanup and not noticed the error (but I need to do free now) , so does that suggest they had solved it on a plugin level, as might W Super Cache? |
This issue only occurs for me when using Super Cache. In fact, the only place the error string appears ( |
I'm saying I experienced the issue without having SuperCache installed. I'm not using that plugin at all. |
why is this being addressed to me, I haven't commented about this other than reporting what happens on my setup. I knpow nothing about how garbage cleanup works and would not claim to. I don't remember subscribing to this thread and amd receiving no other messages...
…________________________________
From: Ionut ***@***.***>
Sent: Friday, January 20, 2023 6:01 PM
To: Automattic/jetpack ***@***.***>
Cc: JeffBurris ***@***.***>; Comment ***@***.***>
Subject: Re: [Automattic/jetpack] Wrong warning: The WordPress CRON jobs system is disabled. (#25477)
I suppose you're saying all Super Cache is doing to expose it is implementing garbage cleanup
I'm saying I experienced the issue without having SuperCache installed. I'm not using that plugin at all.
—
Reply to this email directly, view it on GitHub<#25477 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASBSQTCHXLPBTOAJ7MRKKVLWTMKNRANCNFSM56MMYACQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@JeffBurris When you comment on a GitHub issue, you are automatically subscribed to all updates on that issue. If you'd rather not receive updates for each comment here, I would recommend clicking on the "Unsubscribe" button in the sidebar of the issue page. |
I don't think we even need to go so far as to have a checkbox in the plugin (although I wouldn't complain if such a thing existed). I think just having the user set another variable similar to This way, it's a trivial matter of adding a single |
Would be wonderful if this warning can be turned off by a constant for all of us which run the cron from the system cron (I use wp-cli on linux system cron for example for this). |
I've faced with incorrect warning:
Yep, the variable
DISABLE_WP_CRON
set totrue
. But cron works through system cron https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/#macos-and-linuxHow to remove incorrect warning?
The text was updated successfully, but these errors were encountered: