Redirecting the output of Scheduled Tasks

  • Thread starter Thread starter John Pressman
  • Start date Start date
J

John Pressman

The redirection operator (> or ^>) does not seem to work with Task Scheduler or
AT. (When run from the Task Scheduler, a console window pops up showing the
output which should have been redirected.) The same command line works as
expected from the command prompt. This is only a problem with binary
executables; the output of batch files is redirected in both cases as expected.
Tried on Windows XP Home and Pro. All required permissions are OK. Any ideas?
 
Hm, it works with at here...

Just tried "at > my.txt" and it worked...

Andrej
 
| Hm, it works with at here...
|
| Just tried "at > my.txt" and it worked...
|
| Andrej

my.txt will then contain the output of the AT command. I want to capture the
output of the scheduled task.
 

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

Back
Top