Chandler
不是我愛寫,是因為腦袋的RAM不夠大,不寫下來馬上就忘了....
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
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言