2016年4月21日 星期四

Capture the output of a script under task scheduler

Reference:
How do I capture the output of a script if it is being ran by the task scheduler?

With stdout and stderr (where most of the errors go to):

cmd /c yourscript.cmd > logall.txt 2>&1

沒有留言:

張貼留言