🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5585

Saving news from 'cron'/crontab?

#5585
From: Adri Verhoef
Date: Wed, 16 Mar 1994 17:24
22 lines
1499 bytes
Can 'nn' save news articles from one's crontab on BSD systems?
(Stty handling could be a problem here, having experienced crontab problems
with 'rn', rn dumping core because of SIGSEGV-Segmentation violation; maybe
I should strip rn from all its stty handling and possibly signal processing.)

This is what I want to do:
- save all unread articles in mail format (how do I specify this?)
  from a particular newsgroup into one particular file, named after
  that newsgroup.

This is how it should work:
- From crontab:
  + Prepare environment settings (if needed);
  + Call nn with the necessary options, possibly providing input as well
    (from a script, if needed):
    From any particular newsgroup, save all unread articles in mail format
    into a file named after that newsgroup.

Can nn do this, and if so, how?

Much obliged,
Adri
Technical Details
Message-ID: <CMrpp8.KsL@rivm.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!news.dfn.de!news.belwue.de!news.uni-ulm.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!sun4nl!rivm!a3

Show Full Headers
Complete Article Headers
Message-ID: <CMrpp8.KsL@rivm.nl>
Subject: Saving news from 'cron'/crontab?
Date: Wed, 16 Mar 1994 17:24:44 GMT
From: a3@rivm.nl (Adri Verhoef)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!news.dfn.de!news.belwue.de!news.uni-ulm.de!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!sun4nl!rivm!a3
Newsgroups: news.software.nn
Sender: news@rivm.nl
Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL
Lines: 22