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

  • Thread starter Victor Humphrey
  • Start date
V

Victor Humphrey

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.
 
M

Michael Borgwardt

Victor said:
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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top