On 21 Dec 2019, Paul Hayton said the following...
PH> 1) Does anyone have an example of the correct syntax to use to call
PH> adv-stat-hpt.pl when I am wanting to create a stats report for a given
PH> date range, say the last 24 hours. I have looked at the .pl file and can
PH> see some syntax but when I try to add it to the command line it fails.
PH> I'm picking I'm missing something simple.
What I'm doing on CRBBS, is just calling the adv-stat-hpt.pl file, and piping
the output to a text file. After my stat text files are generated, my log
files get archived, so I only have 24 hours of stats.
perl adv-stat-hpt.pl > daily.sta
PH> 2) Is there a way to tell the script to exclude certain echo areas in
PH> it's report output?
I'm sure there's a way to do it within the perl script, but what I have done,
is use sed to remove any that I don't want in the report.
sed -i '/NETMAIL/d' ./daily.sta
sed -i '/CN_FILES/d' ./daily.sta
sed -i '/CN_GENERAL/d' ./daily.sta
I'm sure there's a way to do this on a Windows system, but I don't know what
it is off-hand...
---
Black Panther(RCS)
Castle Rock BBS
--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (1:317/3)
|