I'm running a batch file with the following command to clean up logs and log the information to a text document on user workstations. Workstations are Windows 10, and we are running SAS Foundation 9.4m5.
I've checked and this file looks like it was not removed, is there a way I can make the process report correctly about removing or not removing a log file when it is in use? My other job for the temporary directories appears to be reporting correctly.
Hi Thanks for the response @34reqrwe. My log file does not have 'java' in the name. My question is just about the fact that it reports a log file is in use, and then it reports that the log file has been removed.
I'd rather it not say that it is removed when it is not - it will cause confusion for my users. I spot checked a couple files and they were not removed as reported.
Yes, and I just double-checked another. File was last created 12/11/2018 12:56 PM, and the cleanwork job ran at 12/12/2018 6:00:01.62, when it says it removed the log. Other logs are getting removed, so it is working as designed. It is just reporting incorrectly.