Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Redirecting Task Master script file output to a log file


alackey Jan 7, 2018 12:57 PM

I have Task Master running a file_swap.bat every hour to move Loggernet .dat files to a shared drive. This works fine. I would like to redirect the Bat file console output to a log fie for latter review.


jtrauntvein Jan 10, 2018 06:00 PM

You can do this inside of your batch file by piping the output(s) of the various commands to a log file or you can do this by explicitly invoking the command processor using somthing like:

cmd /c <task.bat> >> <task.log>

where <task.bat> represents the path to your batch file and <task.log> represents the path to the log file.  The >> syntax will cause the output from the command processor to be appended to the specified file if its already exists.


alackey Jan 10, 2018 07:23 PM

thanks I’ll give it a go

Log in or register to post/reply in the forum.