I have scheduled Microsoft Windows server console application (that output to stdout) using the task scheduler . It is long running and might take weeks to finish. Is there a way to "tap" into the console output on demand to check on the task's progress ?

  • is there a programming way to do it ? Perhaps I can ask programmers in Stackoverflow , should I ? – dan_l Mar 13 '12 at 7:12
  • Umm... log onto the console and check it? – joeqwerty Mar 13 '12 at 10:47
  • but it is running in the background via the windows task scheduler. Is there a way to tap into what it is printing to a console stream (such as stdout , stderr .. etc ) ? BTW , it is a robocopy task copying a lot of files over a slow WAN. – dan_l Mar 13 '12 at 12:49

Use the /LOG switch on the robocopy command, tail the log file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.