JAVA help


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.

1 answer Last reply
More about java help
  1. 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.
Ask a new question

Read More

Programming Unix Java Command Prompt Apps