I've come into a position where all the existing scheduled applications write their logs to .CSV files, so that people can open them in Excel. The problem comes when someone opens a log file and just leaves it open. The applications then can't write to their logs, and by rule, they die.
So the options are:
- somehow get the users to open the files in Excel in a non-exclusive manner;
- somehow be able to write to the log despite the users' rudeness;
- write a kinder, gentler log reader (nope, the company runs on Excel and .csv files and they won't change);
- ???????
Or am I just missing a totally brainless way to deal with this?
Most of the apps are currently VBScript, but I've already managed to convert many of them to C# console apps, so answers in both styles are welcome.