🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Gary Mills Fri, 16 Apr 2010 16:09
Suppressing the daily report from news.daily
#83000
Author: Gary Mills
Date: Fri, 16 Apr 2010 16:09
13 lines
1537 bytes
I'm running inn-2.4.2 on our news server.  Activity has slowed so much
that I no longer want the report from news.daily mailed to me every
day.  Once a week would be sufficient, or perhaps it could be stopped
altogether and replaced by some other means of monitoring the news
system.

Will the `nomail' option suppress it completely?  The man page just
says that it's sent to stdout and stderr.  Is there a way to have it
send the report less frequently than once a day?


-- 
-Gary Mills-        -Unix Group-        -Computer and Network Services-
Re: Suppressing the daily report from news.daily
#83002
Author: Julien ÉLIE
Date: Fri, 16 Apr 2010 17:21
38 lines
2711 bytes
Hi Gary,

> I'm running inn-2.4.2 on our news server.  Activity has slowed so much
> that I no longer want the report from news.daily mailed to me every
> day.  Once a week would be sufficient, or perhaps it could be stopped
> altogether and replaced by some other means of monitoring the news
> system.

HTML reports can still be generated by news.daily.  It runs scanlogs
which, in turn, runs innreport.  You can therefore monitor your system
with these saved reports.


> Will the `nomail' option suppress it completely?  The man page just
> says that it's sent to stdout and stderr.

Yes, it suppresses the mail.  Just pipe stdout and stderr to /dev/null
when calling news.daily in cron.
Please note that "nomail" is new in INN 2.5.2.


> Is there a way to have it send the report less frequently than
> once a day?

Without "nomail", I do not see how it could be done.  Except of course
if you run news.daily less than every day!

Another idea would be to run news.daily with the "norotate" option
every day of the week, except one (to receive a global report once
a week).  And without the "nomail" option, just drop or filter
the unwanted mail you receive.

-- 
Julien ÉLIE

« La médecine est un métier dangereux. Ceux qui ne meurent pas
  peuvent vous faire un procès. » (Coluche)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads