ndscheduler icon indicating copy to clipboard operation
ndscheduler copied to clipboard

Adding year so you could run the task once a year

Open rolele opened this issue 8 years ago • 4 comments

Great work thanks, I am just wondering how could I use ndscheduler to run task only once. I think adding the year option could be a way to say run the task on that particular date and thats it.

Ok maybe providing a mecanism to delete the job just after it has been triggered. Is that possible? How would I do that?

rolele avatar Apr 28 '17 08:04 rolele

You can pause a job, so it won't run automatically; and then you manually trigger it by click the "Custom run" button.

0-v7wv--rzcgevnya1

wenbinf avatar Apr 28 '17 16:04 wenbinf

ok but how do I pause a job automatically after it has been fired and without clicking manually

rolele avatar Apr 28 '17 22:04 rolele

By "pause a job", I mean "a job can't be scheduled to run". If a job is already fired, then there's not way to "pause" it.

(Sorry for late reply! )

wenbinf avatar May 04 '17 17:05 wenbinf

You can use the API to delete a job from the job if you want, just send a DELETE request to /api/v1/jobs/{job_id}.

Supporting something running once a year seems reasonable though, although not really a priority for me. Leaving it open as an enhancement.

sabw8217 avatar Aug 30 '18 18:08 sabw8217