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

cron type patterns don't fully support cron syntax #93

Open
vchepkov opened this issue Mar 26, 2021 · 4 comments
Open

cron type patterns don't fully support cron syntax #93

vchepkov opened this issue Mar 26, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@vchepkov
Copy link
Contributor

cron module doesn't allow the following pattern, which is a valid syntax

hour => '1-23/2'
@scorillo
Copy link
Contributor

I can confirm

#66 fixed the problem only for */n where n < 3
same fix should be made for interval/n where n < 3

( \/ ( 1?[0-9]|2[0-3]|[3-9] ) )? versus ( \/ ( 1[0-9]|2[0-3]|[3-9] ) )? ?

@scorillo
Copy link
Contributor

@bastelfreak ^^^

@bastelfreak
Copy link
Member

hey people. I current'y don't have time to develop and test a fix for this. can one of you raise a PR with a test that fails or also the code to make it work?

@bastelfreak bastelfreak added the bug Something isn't working label May 21, 2021
@scorillo
Copy link
Contributor

@bastelfreak #94 - test that will fail with the current code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants