πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79654

Re: Some thoughts on times

#79654
From: John F. Morse
Date: Sun, 16 Nov 2008 20:12
81 lines
4243 bytes
Julien Γ‰LIE wrote:
> Hi John F. Morse,
>
>>>> 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.
>
> 59 23, you mean :)


Ha! I made it into November this year before making a mistake.

Then I make two in the same day! ;-)

Thanks, Julien.


>> 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.
>
> Once you know that fact, it does not matter.
> As you say, just put your cron at 23:59 and it will do what you want 
> (except
> for the last minute of the day).


With the approximate four-minute expiry time, I wonder if it would 
actually complete far enough along to stamp the date on that day, or 
possibly slide into "tomorrow."

I don't think so. Looking at the e-mail message header of yesterday's 
daily report:

Received: from news by localhost with local (Exim 4.50) id 
1L1ajG-0004G9-Aq for usenet@news.my.net; Sun, 16 Nov 2008 00:03:26 -0600

That indicates Inn isn't finished yet, and finally sent the report at 
00:03:26.

So I would need to adjust cron back four minutes to 57 23, and that 
would only last as long as the server isn't processing more data per day.

Don't go out of your way to try and reprogram this to be accurate. I 
only mentioned it because I know you are up to your elbows in the code 
lately, and might be aware of the area that could be tweaked.

Nothing is "broken" and I've lived with the "incorrect" date for several 
years. But if you happen to stumble onto the reason, and the fix is 
easy, well....


> Please also note that innreport can also be used every two days or 
> every week;
> it is not mandatory to use it daily.  Therefore the time covered by 
> innreport
> is not necessary a day.


Oh, I was unaware of that. I prefer a daily report though.

I found two files, /var/log/news/news-notice.2006.02.11-00.00.03.html 
and one for the following day. I don't know (remember) where those came 
from. Perhaps I manually ran some program to generate them. Would you know?

The big "problem" with Inn is it is like a, er, Timex, or that pink 
bunny. Just keeps running and running without needing any assistance. 
That causes evaporation of my brain cells (failure to dynamically 
refresh), and I forgot what I did months and years ago during the 
initial setup. My old age doesn't help either. ;-)

Of course I consider that a big plus (Inn's stability -- not my age)!


-- 
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: <gfpus9$s41$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> <gfpm2s$puk$1@optima7.xanadu-bbs.net> <gfpobr$j4s$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gfpus9$s41$1@optima7.xanadu-bbs.net>
Subject: Re: Some thoughts on times
Date: Sun, 16 Nov 2008 14:12:57 -0600
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gfpide$p3n$1@optima7.xanadu-bbs.net> <80od0flhog.fsf@banana.shacknet.nu> <gfpm2s$puk$1@optima7.xanadu-bbs.net> <gfpobr$j4s$1@news.trigofacile.com>
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: 81
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: 8bit
X-Trace: optima7.xanadu-bbs.net 1226866377 28801 192.168.89.180 (16 Nov 2008
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sun, 16 Nov 2008 20:12:57 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.14ubu (X11/20080925)
In-Reply-To: <gfpobr$j4s$1@news.trigofacile.com>