You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Stefan Bodewig <bo...@apache.org> on 2003/02/03 14:59:35 UTC
timeout (was Re: nsUML is dead?)
On Thu, 30 Jan 2003, Sam Ruby <ru...@apache.org> wrote:
> I found a utility for unix that can be used to enforce a time limit
> on each step.
Interesting. How do you use it with the generated scripts?
I've been thinking about adding a "java" shellscript which would the
simply do
exec timeout 1200 /real/path/to/java "$@"
and move that to the front of my nightly Gump script's PATH, but I'm
sure there is a simpler way.
Stefan
Re: timeout (was Re: nsUML is dead?)
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 03 Feb 2003, Sam Ruby <ru...@intertwingly.net> wrote:
> sh gen.sh -cp "/home/rubys/bin/timeout 1200"
Thanks!
Stefan
Re: timeout (was Re: nsUML is dead?)
Posted by Sam Ruby <ru...@intertwingly.net>.
Stefan Bodewig wrote:
>
>>I found a utility for unix that can be used to enforce a time limit
>>on each step.
>
> Interesting. How do you use it with the generated scripts?
sh gen.sh -cp "/home/rubys/bin/timeout 1200"
Search gen.sh for "cmd-prefix" to see how it works.
Enjoy!
- Sam Ruby