[16.0][MIG] cron_daylight_saving_time_resistant - #2578
Merged
OCA-git-bot merged 12 commits intoJan 29, 2024
Merged
OCA-git-bot merged 12 commits into
OCA-git-bot merged 12 commits into
Conversation
florian-dacosta
force-pushed
the
16.0-mig-cron_daylight_saving_time_resistant
branch
2 times, most recently
from
June 19, 2023 08:59
2dd4141 to
0e53ce4
Compare
clementmbr
force-pushed
the
16.0-mig-cron_daylight_saving_time_resistant
branch
from
January 24, 2024 12:49
0e53ce4 to
86df925
Compare
Member
|
@florian-dacosta @hparfr |
hparfr
approved these changes
Jan 26, 2024
Contributor
|
This PR has the |
Contributor
|
/ocabot merge nobump |
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
Contributor
|
Congratulations, your PR was merged at 7c431ec. Thanks a lot for contributing to OCA. ❤️ |
Member
|
This module seems to be causing test failures in recent PRs: https://github.com/OCA/server-tools/actions/runs/8389895772/job/22977050191?pr=2887 Would you be so kind as to have a look? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #2289
The module allows to configure crons so they always run at the same hour, no matter the timezone and the change of hours.
For instance, if you are in Brussels and you have a cron that run every days at 11H (local time), when swtiching from summer time to winter time, the cron will be planned for the next day at 10H (local time)
At the contrary when switching from winter time to summer time, the cron that was configured to run at 11H will be planned for 12H.
If it is important that the cron always run at the same hour no matter the change of time, then you can check the box "daylight_saving_time_resistant" on the cron.