-
Notifications
You must be signed in to change notification settings - Fork 0
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
WP cron schedule not sending mail #3
Comments
Tried various things
It seems that the cron schedule callback is not executed when called by cron, |
Got some erractic inbox mails obviously sent via scheduled callback about 2 days after setting hourly schedule! Cron scheduled as hourly: 20231009 Caching disabled: 20231011-20:41 Cron mail received: 20231011-20:50 Caching reenabled with page cache only: 20231011-21:56 W3 Total Cache Configuration before deactivation:
Not enabled: Database Cache, CDN, Reverse Proxy, Fragment Cache, Miscellaneous, Debug |
Follow-up: watch inbox after reenabling, verify with different caching options, await support: |
No more scheduled mails after reactivating page cache. |
Caching changed: 20231012-1944 Page cache disabled, frontend minify disabled, object cache stays enabled, browser cache stays enabled |
WordPress core update to 6.3.2 on Friday 20231013 |
received mails hourly, switch to twice daily |
reenabled W3TC page cache, Oct 16, 2023, 11:24 I will reenable page cache now and see if it occurs again. Oct 18: |
The situation is getting even more erratic. |
I have installed the same plugin on another site which also uses W3 TC page cache now. |
After talking to myself in support issues, like I often do, while nobody seems to be able to help, I will test alternative solutions:
|
Manual call of the Disable W3TC. Try above wp-cron call... does not work either! Try the logged in plugin page: No mail either. So that's the problem after the latest update? |
More debug info, installed and rescheduled, send on view admin page works again, at least sometimes, erratically, unless wp_mail returns false. Live testing since Monday noon, 30. October 2023:
|
Current status:
|
Warning (found on the UpdraftPlus backup page, K.O. page):
|
Mail function works when called from an admin page, but does not seem to work inside a cron schedule callback.
Maybe it does and it's a permission issue that we don't get any inbox entries?
Always send a mail, with or without a report.
Set schedule interval to
hourly
for testing purposes.The text was updated successfully, but these errors were encountered: