generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: evaluate if current day of week is valid correctly (#1763)
2 issues found - our cron implementation did not evaluate if the current time matched the day of the week properly - discovered in this PR: https://github.com/TBD54566975/ftl/pull/1733/files - this revealed that the new shorthand day of the week logic was doing the equivalent of `* * * * * x *` (every second of the chosen day) rather than `0 0 0 * * x *` (midnight of the chosen day) fyi, plan is to replace with an actual cron lib anyway...
- Loading branch information
Showing
3 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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