Skip to content
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

Throw error when DOM and DOW are set #5

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

Kniggebrot
Copy link

It shouldn't be supported, but currently is, while the resulting CRONs may execute extremely rarely.
So they should be blocked during parsing (where an error saying what is wrong can be returned) instead of being scheduled far away in the future or not being scheduled and throwing a generic error.

It shouldn't be supported, but currently is, while the resulting CRONs may execute extremely rarely.
One of either fields needs to be "*" or "?", otherwise the CRON expressionn is returned with an error.
@Kniggebrot Kniggebrot merged commit 5dffe15 into master Oct 22, 2024
1 check passed
@Kniggebrot Kniggebrot deleted the feature/block-specific-dom+dow branch October 22, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant