Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2003
    Posts
    6

    Question Windows Batch Script

    I am having problems with a batch file. The batch script is used to invoke a Java Program.

    The batch file I am using is invoke by the NT Scheduler.
    When ever the NT Scheduler invokes it, the Java program starts as expected. However, when ever a server operator logs on to the server and logs off, the java process stops running.

    Is there a way to invoke my program through the batch file in a mode that will not let the operating system shut it down when ever someone logs off?

    [Command: javaw JavaProcess > 20031218.log &]

    Thanks!

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    Are you using .bat or .cmd file extension for your batch file ? Is this windows 2000 or windows nt ?

  3. #3
    Join Date
    Dec 2003
    Posts
    6
    >>Are you using .bat or .cmd file extension for your batch file ?
    I have tried with both a .bat and a .cmd file.

    >> Is this windows 2000 or windows nt ?
    It's a Windows NT system

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    Under what userid is this task running as - and what userid is the sysadmin using when logging in/out ?

  5. #5
    Join Date
    Dec 2003
    Posts
    6

    Question

    >>Under what userid is this task running as
    I believe it is system...

    >>what userid is the sysadmin using when logging in/out ?
    I'm not sure, how can I find out?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •