Limiting the time a program runs in Linux

Posted by Overdeath on Stack Overflow See other posts from Stack Overflow or by Overdeath
Published on 2010-03-05T14:41:17Z Indexed on 2010/03/21 12:21 UTC
Read the original article Hit count: 300

Filed under:

In Linux I would like to run a program but only for a limited time, like 1 second. If the program exceeds this running time I would like to kill the process and show an error message.

© Stack Overflow or respective owner

Related posts about linux