🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79655

Re: Some thoughts on times

#79655
From: John F. Morse
Date: Sun, 16 Nov 2008 17:42
59 lines
3366 bytes
Ray Banana wrote:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>
>   
>> 59 59     * * *   news    test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm
>>     


Eh, yes, a typo I'm afraid. Should be 59 0 of course. My brain 
instructed me to change the zero to fifty-nine, and I followed 
instructions. ;-)


> I'm sure cron won't like this, as hour 59 does not exist.
>
>   
>> Is there something that could be done to correct these problems?
>> Perhaps picking off the actual correct date and time when the cron job
>> starts, then using that data to create the message subject. 
>>     
>
> That's what innreport actually does.
>   


Hmmm. Yes, technically it is the "next day" when innreport starts. But 
there must be a way to get the correct date for the time and date period 
the report actually covers.


>> Getting those incoming hourly totals correct might take more work.
>>     
>
> The major problem is that news.daily uses the current logs (news.notice
> and news) for innreport and rotates them after innreport has finished,
> so there will always be a gap for the time innreport takes to compile
> the daily report. 
>
> If you want daily reports to be correct to the last second,
> you would need a different data base for the reports. Some statistics
> tools actually use a special feed for this purpose. Of course, this
> means more overhead and disk space. For some people, including myself,
> having such accurate statistics is not important enough to justify the
> effort.


I agree that the hourly reports are not the main issue, but the daily 
report's e-mail header is what concerns me.

I don't know how many times I've selected the previous day's report to 
examine after seeing something in the logs (or visa versa).


-- 
John 

No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <gfpm2s$puk$1@optima7.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu>

Show Full Headers
Complete Article Headers
Message-ID: <gfpm2s$puk$1@optima7.xanadu-bbs.net>
Subject: Re: Some thoughts on times
Date: Sun, 16 Nov 2008 11:42:50 -0600
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 59
Reply-To: dont.bother
NNTP-Posting-Host: wintergreen18.xanadu-bbs.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1226857372 26580 192.168.89.180 (16 Nov 2008
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sun, 16 Nov 2008 17:42:52 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.14ubu (X11/20080925)
In-Reply-To: <80od0flhog.fsf@banana.shacknet.nu>