Sign in with
Sign up | Sign in
Your question

JAVA help

Last response: in Applications
May 4, 2011 4:33:09 PM


we currently run this command from unix:
java -cp ${classpath} com.tufts.tracs.TracsLog $*
Sometime this process does not die, is it possible to code a timeout value around command if not complete in 5 minutes.


More about : java

a b L Programming
May 4, 2011 10:50:43 PM

Is this your own program? If so just code in a timeout value? I.e. set up a Timer object and when it fires call System.exit(0).

Otherwise this question is more about process management than Java.