Y
yawnmoth
I have a scheduled task (a batch file) that's supposed to run everyday
at 6am and I'd like to sorta to have it create a log file. eg. when it
runs on May 10th, I'd like it to append something like "ran on May 10"
to the log file. On May 11th, I'd want it to append May 11th,
resulting in a log file that looks something like...
ran on May 10
ran on May 11
....etc...
Using > doesn't work as the following demonstrates:
echo test > log.txt
echo test2 > log.txt
At this point, log.txt simply says test2 - not test / test2.
at 6am and I'd like to sorta to have it create a log file. eg. when it
runs on May 10th, I'd like it to append something like "ran on May 10"
to the log file. On May 11th, I'd want it to append May 11th,
resulting in a log file that looks something like...
ran on May 10
ran on May 11
....etc...
Using > doesn't work as the following demonstrates:
echo test > log.txt
echo test2 > log.txt
At this point, log.txt simply says test2 - not test / test2.