I have the following problem:
We receive a daily backup of the 4AM database at 5AM, and we have a batch job running at 6 AM to get the database running on a VM.
In Task Scheduler, everything is ok, and it runs every day, however we want to have a log of the actions that the batch file does.
Is there any way to do this?
What I've already tried:
()
and thereby make them print the results of the statements. >"arquivo" (instruções)