On Tue, Dec 30, 2008 at 9:19 PM, Oleg Goldshmidt <p...@goldshmidt.org> wrote:

> shimi <linux...@shimi.net> writes:
>
> > There's The Fault Tolerant Shell[1], that assumes that running for
> > too long is 'a fault', which you might use.
>
> I am not sure - the typical use case of ftsh is to keep trying for so
> many times or for such and such time interval if your task keeps
> failing. I understood the OP requirements as to be able to kill a
> perfectly running application after a specified time interval. I am
> not sure ftsh handles this case.
>

I know what the typical use is, but... if you define "try one attempt" and
"a failure is when the task is running more than 4 hours", essentially you
build something that runs whatever you want, and assumes a failure after 4
hours, cleans it up gracefully, and that's it, no?

-- Shimi

Reply via email to