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
Day of week number can't be bigger than 5 #263
Comments
I don't quite know what you mean. The dayof the week can't be greater than 5? Why not? Do you mean it shouldn't get greater than 5 and cron-validate doesnt check for it or doesn't it currently allow it to be bigger than 5? If we look here for example: http://crontab.org/ or https://docs.aws.amazon.com/de_de/AmazonCloudWatch/latest/events/ScheduledEvents.html the day of the week can go from 0 to 7 / 1 to 7. |
I mean value "1#8" equals to 8th sunday/monday of month. Max count of any DOW cannot be greater than 5 just because of calendar structure. Write here "* * * ? * 3#8 *" |
Alright, thanks. I'm gonna check that as soon as I got time to do so (like Sunday/Monday) |
## [1.4.5](v1.4.4...v1.4.5) (2022-11-20) ### Bug Fixes * day of week occurence number cannot be bigger than 5 ([#263](#263)) ([62cbb9b](62cbb9b))
Fixed this in version 1.4.5, thanks bringing up the issue! |
cron-validate/src/helper.ts
Line 151 in b6963fc
Can you add one more condition into "if"?
The text was updated successfully, but these errors were encountered: