Subj : Top-5 User Bulletin Generator
To   : Digital Man
From : Codefenix
Date : Fri Jan 14 2022 08:29 pm

 Re: Top-5 User Bulletin Generator
 By: Digital Man to Codefenix on Fri Jan 14 2022 02:53 pm

DM> As I mentioned on FB too, you probably should do an *inclusive* search
DM> (i.e. only files matching the pattern MMDDYY.log) rather than *excluding*
DM> files of other specific naming patterns. You never know when new *.log
DM> files may appear in the data/logs dir with other naming formats.

That was my first thought as well, but I couldn't think of how the wildcard search pattern would look if only a year was specified for a yearly bulletin.
It would look like /sbbs/data/logs/*22.log, unless I'm overlooking something obvious.

DM> Also, did you consider the .lol files (same directory) - maybe they
DM> contain all the stats you need? --

I decided against the .lol files, since their status is "discouraged" on the http://wiki.synchro.net/ref:files page. Also, they don't track door usage.

---
� Synchronet � -=[ conchaos.synchro.net | ConstructiveChaos BBS ]=-