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 random time intervals #608

Open
a1kaigorodov opened this issue Oct 10, 2023 · 2 comments
Open

Support random time intervals #608

a1kaigorodov opened this issue Oct 10, 2023 · 2 comments

Comments

@a1kaigorodov
Copy link

On OpenBSD, you can use the ~ symbol to specify random time intervals.
You can find more information about this in the crontab(5) manual.

It would be great if the library could parse these cron expressions and translate them into an ordinal cron expressions with a given Random instance.

@jmrozanec
Copy link
Owner

@a1kaigorodov thanks! This will be a great addition.

@mawinter69
Copy link

that would really be great if that could be implemented. A requirement would be that I can give some hash value to the isMatch, nextExecution and lastExecution as input so that the random is reproducible.

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

3 participants