FluentScheduler icon indicating copy to clipboard operation
FluentScheduler copied to clipboard

How to cancel a job automatically if it's not completed in a certain amount of time?

Open akshay-zz opened this issue 4 years ago • 1 comments

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.

akshay-zz avatar Jan 06 '22 12:01 akshay-zz

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" ;)

tallesl avatar Jul 26 '24 02:07 tallesl

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.

tallesl avatar Aug 24 '25 18:08 tallesl