Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
uschedulecp(1)		    General Commands Manual		uschedulecp(1)

NAME
       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).

       The homepage may	be more	up-to-date, see
       http://www.ohse.de/uwe/uschedule.html.

uschedule			     0.7.1			uschedulecp(1)

NAME | SYNOPSIS | DESCRIPTION | HISTORY | EXAMPLES | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=uscheduleruntimelimit&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help