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

Support ? in cron expressions #1

Closed
violuke opened this issue Aug 8, 2017 · 1 comment
Closed

Support ? in cron expressions #1

violuke opened this issue Aug 8, 2017 · 1 comment

Comments

@violuke
Copy link
Contributor

violuke commented Aug 8, 2017

Cron format of 0 0 0 ? * SUN * breaks the runner.

We should log an issue, but not break everything if a cron format provided is invalid.

Additionally, can we support a ? to be the same as a *?

Explanation from SO

*("all values") - used to select all values within a field. For example, "" in the minute field means *"every minute".

? ("no specific value") - useful when you need to specify something in one of the two fields in which the character is allowed, but not the other. For example, if I want my trigger to fire on a particular day of the month (say, the 10th), but don't care what day of the week that happens to be, I would put "10" in the day-of-month field, and "?" in the day-of-week field. See the examples below for clarification.

@violuke
Copy link
Contributor Author

violuke commented Aug 17, 2017

Done in e79fba0

@violuke violuke closed this as completed Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant