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

Range over midnight? #15

Closed
guettli opened this issue Nov 28, 2017 · 1 comment
Closed

Range over midnight? #15

guettli opened this issue Nov 28, 2017 · 1 comment

Comments

@guettli
Copy link

guettli commented Nov 28, 2017

I could not see in the current docs if ranges over midnight are valid or not.

I would like to read in "man 5 crontab" if this is valid or not:

05 22-5 * * * my_command.

Does 22-5 expand to 22,23,0,1,2,3,4,5?
Here are the current docs: https://github.com/cronie-crond/cronie/blob/master/man/crontab.5#L197

Please forgive me, if I was blind.

@t8m
Copy link
Member

t8m commented Nov 28, 2017

No, in the range the first number must always be lower or equal to the second. I've fixed the docs.

@t8m t8m closed this as completed Nov 28, 2017
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

No branches or pull requests

2 participants