/ Sign-up
Your question

JAVA help

  • Programming
  • Unix
  • Java
  • Command Prompt
  • Apps
Last response: in Apps General Discussion
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.