how to use the windows "at" command to schedule a java job?

Discussion in 'Java' started by Victor Humphrey, Jan 1, 2004.

  1. I have been using the "at" command to schedule some other .exe jobs, but
    when the job is the java.exe interpreter, it will simply not start. I am
    aware that the default directory for a process started by "at" is
    c:\windows\system32\, and we must set the classpath environment variable to
    allow the intended java class to be found. What else have I left out? Thank
    you.

    V. H.
     
    Victor Humphrey, Jan 1, 2004
    #1
    1. Advertising

  2. Victor Humphrey wrote:

    > I have been using the "at" command to schedule some other .exe jobs, but
    > when the job is the java.exe interpreter, it will simply not start. I am
    > aware that the default directory for a process started by "at" is
    > c:\windows\system32\, and we must set the classpath environment variable to
    > allow the intended java class to be found.


    Actually it is preferable not to set the environment variable at all and
    instead use the command line option.

    > What else have I left out?


    Is your java executable in the system path or do you use its full path?
     
    Michael Borgwardt, Jan 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Kintner
    Replies:
    0
    Views:
    859
    Michael Kintner
    Nov 30, 2003
  2. Replies:
    0
    Views:
    692
  3. Fredrik Jonson

    Java 7 update - release schedule?

    Fredrik Jonson, Oct 9, 2011, in forum: Java
    Replies:
    5
    Views:
    1,505
    Volker Borchert
    Oct 11, 2011
  4. cct
    Replies:
    1
    Views:
    374
    [MSFT]
    Jun 24, 2005
  5. Jim Heavey
    Replies:
    0
    Views:
    265
    Jim Heavey
    Jan 25, 2006
Loading...

Share This Page