." intlink tagname rest
.de intlink
. ie \\n[www-html] \{\
. HTML \\$1\\$2
. \}
. el \{ \fB\\$1\fR\\$2 \}
..
." extlink URL text rest
.de extlink
. ie \\n[www-html] \{\
. HTML \\$2\\$3
. \}
. el \{ \fB\\$1\fR\\$3 \}
..
.de manlink
. ie \\n[www-html] \{\
. HTML \\$2\\$3
. \}
. el \{ \fB\\$2\fR\\$3 \}
..
.de paragraph
.HTML
.P
..
.de section
. ie \\n[www-html] \{\
.HTML
\\$1
. \}
. el \{
.SH \\$1
. \}
..
.de subsection
. ie \\n[www-html] \{\
.HTML
\\$1
. \}
. el \{
.SS \\$1
. \}
..
." type name (args ..."
.de func
.HTML
.HTML -
\\$1 \fB\\$2\fR\\$3
..
.de args
.br
.HTML
-
\\$1
..
.de endfunc
.br
.HTML
.P
..
.de options
. HTML
..
.de option
. ie \\n[www-html] \{\
. HTML "- \\$1
- "
. \}
. el \{
.HP
\\$1
.br
. \}
..
.de optionparagraph
.HTML
.IP
..
.de endoptions
. HTML
..
.de list
.HTML
..
.de entry
. ie \\n[www-html] \{\
. HTML "- \\$1"
. \}
. el \{ .TP 3
*
\\$1
\}
..
.de endlist
.HTML
..
.ds PA uschedule
.ds VE 0.7.1
.ds CL admin
.TH uschedulecp 1 \*(VE \*(PA
.hy 0
.URL "Uwe Ohse" ../uwe.html
.br
.URL "The uschedule package" ../uschedule.html
.paragraph
.SH NAME
uscheduleruntimelimit - start child and kill it after some time
.LINE
.SH SYNOPSIS
\fBuscheduleruntimelimit\fR LIMIT CHILD [...]
.SH DESCRIPTION
\fBuscheduleruntimelimit\fR starts \fICHILD\fR and sends it a \fITERM\fR
signal after the \fILIMIT\fR has been reached. 5 seconds later a \fIKILL\fR
signal is sent.
\fBuscheduleruntimelimit\fR exits as soon as the \fICHILD\fR exits,
preserving it's exit code.
\fILIMIT\fR is given as number and by default interpreted as seconds. To
change it's meaning to minutes (or hours, days) append a \fIm\fR (or
\fIh\fR, \fId\fR) character.
.manlink uschedule.html uschedule(1)
command for this.
.SH HISTORY
This option was added for uschedule 0.7.1.
.SH 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.
.SH AUTHOR
Uwe Ohse, uwe@ohse.de
.SH "SEE ALSO"
.manlink uschedule.html uschedule(1) ,
.manlink intro.html uschedule_intro(7) .
.HTML