From: Avdi Grimm Date: 2008-12-05T05:03:06+09:00 Subject: Re: Force a program to stop if runtime exceeds given duration As others have noted, using timeout is fraught with peril, and I myself would not use it for anything I wanted to reliably recover and keep running. For just killing a process, though, it may be what you're looking for. Although for that matter, you could just do: ruby myprocess.rb & echo kill $! | at now + 5 hours fg -- Avdi Home: http://avdi.org Developer Blog: http://avdi.org/devblog/ Twitter: http://twitter.com/avdi Journal: http://avdi.livejournal.com