I have a logging module in my solution that adds log entries to a List<>. I’d like to set up a timer that calls a “WriteEntriesToLogFile” method which writes the entries in the List<> to a file on the disk.
Where would be the best place to add this code so whatever page the user is on the method is called at the specified time intervals? Would the global.asax be the right choice? I’m a bit worried that would affect other SharePoint web sites on the same server.