-
Notifications
You must be signed in to change notification settings - Fork 25
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
Behavior for day checking is incorrect #29
Comments
@kenahoo you could use https://github.com/kiorky/croniter?tab=readme-ov-file#testing-if-a-date-matches-a-crontab in the mean time |
kipe
added a commit
that referenced
this issue
Sep 27, 2024
- Added a special case handling when both 'day' fields are set to allow either one to match. This addresses issue #29. - Updated the parsing logic for 'dom' and 'dow' arguments, using `_parse_arg` function with appropriate default values.
kipe
added a commit
that referenced
this issue
Sep 27, 2024
- Added a special case handling when both 'day' fields are set to allow either one to match. This addresses issue #29. - Updated the parsing logic for 'dom' and 'dow' arguments, using `_parse_arg` function with appropriate default values.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docs for
crontab
(https://man7.org/linux/man-pages/man5/crontab.5.html) say this:and here's the Note:
However, the
pycron
functionality is different - it requires that both the fields match:The text was updated successfully, but these errors were encountered: