Task Scheduler

M

Michael Medipor

I have configured Task Scheduler to run a batch file which
uploads a file to an FTP site. Task Scheduler is running
and seems to process, but the file does not get uploaded.

It appears that it's running in a the background. How can
I see the actual bat file processing when I click "Run" on
the Task?

Any help will be much appreciated!
 
P

Phil Robyn [MVP]

Michael said:
I have configured Task Scheduler to run a batch file which
uploads a file to an FTP site. Task Scheduler is running
and seems to process, but the file does not get uploaded.

It appears that it's running in a the background. How can
I see the actual bat file processing when I click "Run" on
the Task?

Any help will be much appreciated!

How about defining and running a task in Task Scheduler to run a CMD
window? When the CMD window run as a scheduled task opens, run your
originally scheduled batch file in that window, note the error(s),
and fix them.
 
G

Guest

The Batch file runs file when I launch it from the Run
menu or a command prompt manualy, but it just seems that
the Task Scheduler is not picking it up.

I tried setting up a Commmand Task and a Task pointing to
the bat file itself. Neither one worked.

Is there something different in setting up CMD task than
other types of tasks?

Is there a way to turn on the processing display on the
Task? Like the old "Echo" command in dos...
 
P

Phil Robyn

The Batch file runs file when I launch it from the Run
menu or a command prompt manualy, but it just seems that
the Task Scheduler is not picking it up.

I tried setting up a Commmand Task and a Task pointing to
the bat file itself. Neither one worked.

Is there something different in setting up CMD task than
other types of tasks?

Is there a way to turn on the processing display on the
Task? Like the old "Echo" command in dos...

On my Win2000 machine I am using the older Schedule Service,
but on my WinXP machine I am using Task Scheduler.

To define a CMD session task, just specify

c:\winnt\system32\cmd.exe


To run the batch file, specify

c:\winnt\system32\cmd.exe "c:\yourpath\yourfile.bat your arguments"
 

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