Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question
    
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

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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