FluentScheduler
FluentScheduler copied to clipboard
How to cancel a job automatically if it's not completed in a certain amount of time?
Is there's any way to cancel a job after certain amount of time it it's still executing. Also any oncancelled callback function/Event just to log the things.
That's a nice suggestion.
It's always tricky to 'kill' things that are running, but maybe we can arrange something (maybe cancelling a cancellationtoken for the caller to manage).
There's a fancy name for "cancelling something if it's not completed in a certain amount of time" by the way: "timeout" ;)
We decided to focus solely on running the jobs based on the given schedule and avoid implementing any fault-tolerance related feature (see #326). Sorry about that.