Article View: news.software.nntp
Article #79653Re: Some thoughts on times
From: Ray Banana
Date: Sun, 16 Nov 2008 17:11
Date: Sun, 16 Nov 2008 17:11
36 lines
3108 bytes
3108 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid> > IOW, today is Sunday, November 16, and the daily report I received > after midnight this morning, is actually the report for Saturday, > November 15's activities, but it has the subject: "Daily Usenet report > for Sun Nov 16 00:00:02 CST 2008." > It should have a subject of: "Daily Usenet report for Sat Nov 15 2008" and leave off the time and TZ. > 59 59 * * * news test -x /usr/lib/news/bin/news.daily && news.daily expireover lowmark delayrm 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. > 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. -- Time flies like an arrow, fruit flies like a Banana. http://news.motzarella.org
Technical Details
Message-ID:
<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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!banana.shacknet.nu!motzarella.org!not-for-mailReferences:
<gfpide$p3n$1@optima7.xanadu-bbs.net>Show Full Headers
Complete Article Headers
Message-ID: <80od0flhog.fsf@banana.shacknet.nu> Subject: Re: Some thoughts on times Date: Sun, 16 Nov 2008 18:11:27 +0100 From: Ray Banana <rayban@banana.shacknet.nu> References: <gfpide$p3n$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.eternal-september.org!news.motzarella.org!motzarella.org!banana.shacknet.nu!motzarella.org!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient spider Lines: 36 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: banana.shacknet.nu U2FsdGVkX1/ps7yFNtGuIng7p4h81MKaykQO+cBaWdFiCqzzGfQtlOVzGAy7WYSjCGZagT8t6rujtw6f3aMlmmmatCjQ4akxKQ7Zqd6AiUgu0bLRNwmJCkJSNcDfJReUxFDmG8Kow68= X-Complaints-To: abuse@banana.shacknet.nu X-Auth-Sender: U2FsdGVkX19D7+dE6bmgr0MxDK0FlBu/wEyKpkq88VZXcJJK4m4XSA== Cancel-Lock: sha1:T/JGsQIYdJb5ns4tLIsj908NimY= sha1:TsPaNH2VQs9DTNBxWQlIsrTW5oI= User-Agent: Plonkenlights X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent iQCVAwUBSSBUcBFgDSXFGJ/lAQGnQAQAneKYrWrCVpo7RwHQaub3bm5aDteaD8Tx JZkx27yEKfk1vp7z7B/2RxrKakqrFJVBx4zr5/DyeFAHUu7gKMdm1q3/hyLNUomq XM20EDkGNpgLCh/qc3//C7k43oTf+iM6tMwSWPRZi7n3AT5qOA5aMHCDvSvTd+zk QQa5+9w+Xfk= =cnKm X-Attribution: Ray Banana