Re: how to run app a limited time, automagically?



In <VQ1Fi.25402$bO6.24016@edtnps89>, on Mon, 10 Sep 2007 02:19:33 GMT,
Bill Unruh, unruh@xxxxxxxxxxxxxx wrote:
Doug Mitton <doug_mitton@xxxxxxxxxxxxx> writes:

What I use regularly in my scripts ...

`timelimit 120 streamtuner`

Works well.

Except where do you get the program timelimit from? I do not have it
anywhere on Mandriva (contrib or main or...)

timelimit:

Description: Limit the absolute execution time of a process
Version: 1.0.b3
State: Uninstalled
Categories: sysutils
Maintainer: roam-at-FreeBSD.org
Directory: sysutils/timelimit
Details: timelimit executes a command and terminates the spawned
process after a given time with a given signal. A
'warning' signal is sent first, then, after a timeout, a
'kill' signal, similar to the way init(8) operates on
shutdown.

WWW: http://devel.ringlet.net/sysutils/timelimit/
Author: Peter Pentchev <roam-at-ringlet.net>
.