Question: Object Cache interfering with Cron status
-
Hi John,
Great plugin btw.
I an issue i’d like your advice on, that i hope is quick to answer.
Environment….
WP 5.6
PHP 7.4
W3TC Plugin
Object Cache: Redis
Cron executed by crontab -> WP-CLIThe crontab script fires fine every 10 mins via WP-CLI and the output is logged nicely, what was run, did it execute successfully etc. I know the Crons are running fine, but i have noticed that when i go to your plugin page:
wp-admin/tools.php?page=crontrol_admin_manage_page
It shows many of the events as overdue, so i check my log and can see they were run successfully on time. So when i clear the Object cache and revisit the page, all the events show they all run successfully and none are overdue.
Object cache is storing the results in Redis…
What i want to do is either exclude the relevant transient/cached key from the object cache, so that i have accurate results on the cron jobs last run.
What is the cache/transient key i should be looking for?
Do you know where the ‘last run’ results are stored? i know it’s not DB: Options -> option_name > Cron.
Ultimately i want the Crontrol events page to show current results when it’s visited.
Any ideas/suggestions welcomed
Thanks for your time
Piers
- The topic ‘Question: Object Cache interfering with Cron status’ is closed to new replies.