Subj : Top-5 User Bulletin Generator
To : Codefenix
From : Digital Man
Date : Fri Jan 14 2022 02:53 pm
Re: Top-5 User Bulletin Generator
By: Codefenix to All on Fri Jan 14 2022 05:10 pm
> It works by doing a wildcard search of all the *.log files for the specified
> month/year in the /data/logs directory, keeps a tally of the stats within
> each. It ignores MS*.log files in an attempt to speed up the search, but as
> Rob/digital man pointed out, there are other log types which also should be
> skipped (FS*.log and http*.log), so I'll make an edit to the script very
> soon to ignore these as well. (thanks dm!)
As I mentioned on FB too, you probably should do an *inclusive* search (i.e. only files matching the pattern MMDDYY.log) rather than *excluding* files of other specific naming patterns. You never know when new *.log files may appear in the data/logs dir with other naming formats.
Also, did you consider the .lol files (same directory) - maybe they contain all the stats you need?
--
digital man (rob)
Sling Blade quote #16:
Karl Childers (to Doyle, re: lawn mower blade): I aim to kill you with it. Mmm.
Norco, CA WX: 76.3�F, 17.0% humidity, 5 mph WNW wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net