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

supports "months" and "years” interval #487

Open
coolsnake opened this issue Sep 18, 2021 · 7 comments · May be fixed by #565 or #615
Open

supports "months" and "years” interval #487

coolsnake opened this issue Sep 18, 2021 · 7 comments · May be fixed by #565 or #615

Comments

@coolsnake
Copy link

In some case, we have an scheduler in which a task may be executed every two months or two years.
The current implementation does not support this kind of setting.
It should be much better to support "weeks" or "years" option.

@rmzr7
Copy link

rmzr7 commented Oct 26, 2021

+1

1 similar comment
@dreamonhigh
Copy link

+1

@gabrielcipriano
Copy link

'Schedule' don't have Job persistence (it can't remember schedules between restarts), that means that if you have a task to be executed every year, if your program restart anytime in a hole year, your countdown restarts.

It makes too risky use 'schedule' for this purpose, because we know that programs/computers can (and will) restart when you don't expect

@DragosDumitrache
Copy link

@gabrielcipriano that's one way to look at it, but if I persist the jobs description in a DB, and on service restart schedule all jobs, I'd still like that option, and it would be beneficial

@ttamg
Copy link

ttamg commented Jun 7, 2022

I am wondering if this could be done as a particular on first day of the month or similar. to avoid the problem laid out by @gabrielcipriano above.

@gabrielcipriano
Copy link

I am wondering if this could be done as a particular on first day of the month or similar. to avoid the problem laid out by @gabrielcipriano above.

That's a cool feature, I believe that it could be implemented

@dondeli
Copy link

dondeli commented Oct 10, 2022

Hi @gabrielcipriano
Do you have any news about the feature that @ttamg has mentioned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants