Run a schedule task from command line

G

Guest

On a Win2000 server, I created a schedule task. Is there any way I can run it
from command line? The "at" command does not seem to recognize the schedules
created from the Schedule Task.
 
P

Pegasus \(MVP\)

theonc said:
On a Win2000 server, I created a schedule task. Is there any way I can run it
from command line? The "at" command does not seem to recognize the schedules
created from the Schedule Task.

Scheduled tasks always include a reference to an executable
file or a batch file, e.g.

"c:\Some Folder\Some Batch File.bat"

If you wish to do the same thing from the Command Prompt
as the scheduled task does, simply invoke that executable
or batch file from the Command Prompt.

at.exe is used to ***schedule*** new jobs, not to
***execute*** them.
 

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

Top