Tagged Questions
3
votes
2answers
1k views
From shell, killing a process if wallclock runtime exceeds some predetermined value
I want to start a process from a shell script, allow it to interact with the user (so I cannot just background it, grab the PID, launch sleep followed by sanity checks and kill), but if it is still ...