How to log the scheduled bat file?

Hi guys,

I scheduled the task which will automatically run the final builder project.

 

Batch file code is as follows:

    @ECHO OFF

    REM RUN SCHEDULED TASK ON *Machine Name*

    echo Running a daily build on *Machine Name*

    schtasks /Run /S *Name*/TN ""

    pause

Now, I want to record the daily log file.

Appreciate your time and suggestion in advance. Thx

 

I’m not sure I understand exactly what you are trtying to do. FinalBuilder can export the log file during the build, you can use variables to build up a unique log file name to pass to the Export Log File action.