innreport not fully working

Russ Allbery rra at stanford.edu
Wed Oct 11 20:48:15 UTC 2000


info <info at caladan.net> writes:

> We have a cron job setup to run each night from root, as follows : 

> 30 02 * * * /usr/local/news/bin/innreport -
> nohtml-unknown -f /usr/local/news/etc 
> /innreport.conf /usr/local/news/log/news

> It seems to work - pretty much, apart from the html output - on the
> initial screen the two graphs show zero articles, also the table
> underneath show zero articles, but if you go into one of the reports,
> all seems fine.

You need to parse news.notice as well; that's what it uses to generate a
lot of the volume information.  I'd recommend using a separate crontab for
the news user rather than doing it from root's crontab, but if you do want
to do it from root's crontab, you need to su to news before running the
command just on general principals.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list