../uwe.html
../uschedule.html

uscheduleruntimelimit - start child and kill it after some time

SYNOPSIS

uscheduleruntimelimit LIMIT CHILD [...]

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. uschedule(1) command for this.

HISTORY

This option was added for uschedule 0.7.1.

EXAMPLES

uscheduleruntimelimit 6 sh -c ’sleep 30’

will exit after 6 seconds.

uscheduleruntimelimit 6m sh -c ’sleep 30’

will exit after 30 seconds.

AUTHOR

Uwe Ohse, uwe@ohse.de

SEE ALSO

uschedule(1), uschedule_intro(7).