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

Slash schedules more elegantly supported? #792

Open
jjb opened this issue Feb 1, 2020 · 0 comments
Open

Slash schedules more elegantly supported? #792

jjb opened this issue Feb 1, 2020 · 0 comments

Comments

@jjb
Copy link

jjb commented Feb 1, 2020

Hi - thanks for whenever! (I've been using it for about a decade!)

Is there a way to support syntax like this using the DSL?

*/7 * * * *

The best I can come up with (which is probably always semantically identical, but might not be depending on how cron is implemented) is:

every 7.minutes

Which generates:

7,14,21,28,35,42,49,56 * * * *

I was surprised to find zero discussion of this in issues and stackoverflow, so maybe I'm searching for the wrong thing.

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

1 participant