uschedulecp 1 \*(VE \*(PA
RL "Uwe Ohse" ../uwe.html RL "The uschedule package" ../uschedule.html .paragraph
NAME
uscheduleruntimelimit - start child and kill it after some time
.LINE
.section SYNOPSIS
uscheduleruntimelimit LIMIT CHILD [...]
.section DESCRIPTION
uscheduleruntimelimit starts CHILD and sends it a TERM
signal after the LIMIT has been reached. 5 seconds later a KILL
signal is sent.
uscheduleruntimelimit exits as soon as the CHILD exits,
preserving it's exit code.
LIMIT is given as number and by default interpreted as seconds. To
change it's meaning to minutes (or hours, days) append a m (or
h, d) character.
.manlink uschedule.html uschedule(1)
command for this.
.section HISTORY
This option was added for uschedule 0.7.1.
.section EXAMPLES
.subsection
uscheduleruntimelimit 6 sh -c 'sleep 30'
will exit after 6 seconds.
.subsection
uscheduleruntimelimit 6m sh -c 'sleep 30'
will exit after 30 seconds.
.section AUTHOR
Uwe Ohse, uwe@ohse.de
.section "SEE ALSO"
.manlink uschedule.html uschedule(1) ,
.manlink intro.html uschedule_intro(7) .
.HTML <!--
.paragraph
The homepage may be more up-to-date, see
http://www.ohse.de/uwe/uschedule.html. .HTML -->