INN - cleaning and reporting - cronjobs
It's necessary to setup cronjobs to clean articles periodically and some other housekeeping tasks.
On the news account, do:
0 3 * * * /usr/lib/news/bin/news.daily expireover delayrm lowmark 0,10,20,30,40,50 * * * * /usr/lib/news/bin/nntpsend 6 6 * * * /usr/lib/news/bin/ctlinnd flush inpaths! 10 6 * * * /usr/lib/news/bin/sendinpaths -c
To add public sharing of processed nocem,
- create a group, for example "dodin.processed"
Add a line in crontab
MAILTO = processed 50 23 * * * grep -B1 "processed notice" /etc/news/logs/news.notice
On openSUSE, logs are managed by rsyslog, it compresses the news.notice file at 23:55 every day. So why I need to run my grep a bit before.
- add an alias in /et/aliases
processed: "|/usr/lib/news/bin/mailpost -b /var/tmp -t /var/tmp dodin.processed"
and run "newaliases".
Probably necessary, create a "processed" user on the server (without login), the one to receive the mail.