Re: wait but kill if a max. time was exceeeded

From: Peter Pentchev <roam_at_ringlet.net>
Date: Fri, 24 Apr 2015 14:28:13 +0300

On Thu, Apr 23, 2015 at 05:45:50PM +0200, Laurent Bercot wrote:
> On 23/04/2015 17:41, Gorka Lertxundi wrote:
> >I have a very simple question, is it possible in execline to wait up to a
> >maximum amount of time to finish a background program execution? And if it
> >didn't finish, kill it forcibly?
>
> Does this help ?
> http://skarnet.org/software/s6-portable-utils/s6-maximumtime.html

Oof, thanks a LOT for taking away the opportunity for me to advertise
http://devel.ringlet.net/sysutils/timelimit/ :P

G'luck,
Peter

-- 
Peter Pentchev  roam_at_ringlet.net roam_at_FreeBSD.org p.penchev_at_storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13



Received on Fri Apr 24 2015 - 11:28:13 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC