Open rigens opened 5 months ago
I don't consider this a bug. Currently, you can run a one time job, and then if you choose to, can run it manually using RunNow()
.
I think this could be changed to a feature request to optionally remove the job when done.
Currently, you can run a one time job, and then if you choose to, can run it manually using RunNow()
Why would I use RunNow()
if I can call the corresponding function directly
I don't consider this a bug.
This is a bug, OneTime jobs should be removed from the scheduler after execution (see quartz or apscheduler for example)
Describe the bug
...
To Reproduce
Version
v2.2.9
Expected behavior
scheduler.Jobs() should return an empty slice after completing all OneTime jobs
Additional context