schedule icon indicating copy to clipboard operation
schedule copied to clipboard

supports "months" and "years” interval

Open coolsnake opened this issue 4 years ago • 7 comments

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.

coolsnake avatar Sep 18 '21 08:09 coolsnake

+1

rmzr7 avatar Oct 26 '21 19:10 rmzr7

+1

dreamonhigh avatar Dec 12 '21 16:12 dreamonhigh

'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

gabrielcipriano avatar Jan 12 '22 15:01 gabrielcipriano

@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

DragosDumitrache avatar Jan 18 '22 22:01 DragosDumitrache

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.

ttamg avatar Jun 07 '22 16:06 ttamg

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

gabrielcipriano avatar Jun 07 '22 16:06 gabrielcipriano

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

dondeli avatar Oct 10 '22 13:10 dondeli