in reply to Re: Kill process after X mins
in thread Kill process after X mins
Many thanks, Corion!
alarm does exactly what I was looking for. Does it also work if the process hung? In my case, it's a "while" loop and it was killed at the specified time.
I'm using a shared server and don't have control over (1) and (3).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Kill process after X mins
by Corion (Patriarch) on Jul 21, 2011 at 13:21 UTC |