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

Ability to customize schedule creation #451

Closed
saranshbansal opened this issue Jun 28, 2020 · 2 comments
Closed

Ability to customize schedule creation #451

saranshbansal opened this issue Jun 28, 2020 · 2 comments

Comments

@saranshbansal
Copy link

Hi, I'm looking to create a schedule which runs every alternate day. But looking into your documentation, I could only see "some" level of customization on Minutes level which is quite frankly useless and inconsistent.

Can you please consider adding another attribute to the Schedule object for accepting a cron like string to make this extension more usable?

Or at least have more options like minutes= to allow some level of customization at hourly, daily, monthly, yearly levels. I don't think it would be a lot of work and the use cases for such a feature are in abundance. Please consider adding them in a future release.

@Koed00
Copy link
Owner

Koed00 commented Jun 28, 2020

For me the scheduler was a bit of an afterthought and I agree it could do with some improvements.
I don't want to write a cron interpreter and then have to maintain it; but I'll look around to see if there are any good cron open source libraries that I can add as an optional install. Maybe something like https://github.com/kiorky/croniter

@Koed00
Copy link
Owner

Koed00 commented Jul 1, 2020

Cron expression support through croniter is currently in the master branch while I test it a bit more before release.

@Koed00 Koed00 closed this as completed Jul 2, 2020
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