in reply to how to automatically kill a program by itself?
You could also use a watchdog if you don't trust the application to end itself.
watchdog -t 7200 script
Update: Fixed fork error check.
Update: Added command line options and moved code into its own (CUFP) node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to automatically kill a program by itself?
by poolpi (Hermit) on Feb 16, 2009 at 15:28 UTC |