A few days ago, I found that with CRON, the timezone has to be in UTC timezone. (Test with action to send me an email with time info when CRON run.)
If my server time is +8 hours from UTC and I want CRON to run around 8am., I have to set it to run at midnight.
- π©π°Denmark robotjox
Thanks, that makes total sense, as I am in UTC+1 (Denmark).
So, @jurgenhaas - I guess it is not necessary to use the MR in that case? Or would you still like me to do that? Happy to help :) - π©πͺGermany jurgenhaas Gottmadingen
@abx you're right, cron times are given in UTC always. We should add that to the field description, I guess?
@robotjox that's great to hear, thanks.
Question: should we add the debugging information to the plugin? It might be helpful for other users in the future. What do you think?
@jurgenhaas, I think that having field description will be very useful.
About debugging information, that should help too in case something goes wrong such as with less busy website using "Automated Cron"
- Status changed to Needs review
almost 2 years ago 8:18am 24 January 2023 - π©πͺGermany jurgenhaas Gottmadingen
I have now officially implemented the debugging capability for the cron event and also added a note to the configuration field description about the UTC timezone requirement.
- Status changed to Needs work
almost 2 years ago 12:53pm 27 January 2023 - π©πͺGermany danielspeicher Steisslingen
Cool stuff. Let us comment the catch case.
- π©πͺGermany jurgenhaas Gottmadingen
Good point, will do that.
And the tests are failing because I've introduced 2 services into the event class which are loaded with
\Drupal::service
. THat's causing the tests to fail because the Drupal container is not available at that point. - Status changed to Needs review
almost 2 years ago 1:45pm 27 January 2023 - π©πͺGermany jurgenhaas Gottmadingen
Had been lazy and didn't use dependency injection. The tests identified that laziness fortunately ;-) Should now be fixed.
- Status changed to RTBC
almost 2 years ago 1:58pm 27 January 2023 -
jurgenhaas β
committed 0509b424 on 1.2.x
Issue #3335353 by jurgenhaas, robotjox, abx, danielspeicher: Debugging...
-
jurgenhaas β
committed 0509b424 on 1.2.x
- Status changed to Fixed
almost 2 years ago 2:05pm 27 January 2023 -
jurgenhaas β
committed 2d272720 on 1.1.x
Issue #3335353 by jurgenhaas, robotjox, abx, danielspeicher: Debugging...
-
jurgenhaas β
committed 2d272720 on 1.1.x
-
jurgenhaas β
committed f306a3de on 1.2.x
Issue #3335353 by jurgenhaas, robotjox, abx, danielspeicher: Debugging...
-
jurgenhaas β
committed f306a3de on 1.2.x
-
jurgenhaas β
committed e728195b on 1.1.x
Issue #3335353 by jurgenhaas, robotjox, abx, danielspeicher: Debugging...
-
jurgenhaas β
committed e728195b on 1.1.x
Automatically closed - issue fixed for 2 weeks with no activity.