Article View: news.software.nn
Article #993Auto get articles in crontab?
From: Robert L. Howard
Date: Wed, 17 Oct 1990 19:48
Date: Wed, 17 Oct 1990 19:48
31 lines
2237 bytes
2237 bytes
We have a need to get all the articles from a local group and then
mail them out to all the users in our domain. We would like to do
this as a cron job each night. (Motivation: Some of our users will
not log on to use nn, but can use an e-mail program from their PC's.
This would allow us to forward all the articles from this local group
out to them through a mail alias.)
We thought to make an elaborate nn macro in the init file and cause
nn to go to the group of interest, save all the articles, exit nn, then
mail the saved articles after running them through some sed script.
The problem seems to be that nn puts the tty in 'raw' (?) mode and
this causes cron to choke.
What I really need is a simply standalone program that will take as
an argument the group name and a command (such as get list of available
articles or get article number) and open the NNTP connnection and return
the text of the article. Simple, clean, fast....
Anyone got such a beast? I think I can put a wrapper around some
existing nntp stuff, but was curious if I was treading new ground'
or if I could ride on someone's coattails...
Thanks
Robert
--
| Robert L. Howard | Georgia Tech Research Institute |
| rhoward@msd.gatech.edu | MATD Laboratory |
| (404) 528-7165 | Atlanta, Georgia 30332 |
| UUCP: ...!{allegra,amd,hplabs,ut-ngp}!gatech!msd!rhoward |
Technical Details
Message-ID:
<rhoward.656192906@romeo>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.misc.mbox.zip!gmdzi!unido!mcsun!uunet!aplcen!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!pacbell.com!att!emory!gatech!prism!msd!rhowardShow Full Headers
Complete Article Headers
Message-ID: <rhoward.656192906@romeo> Subject: Auto get articles in crontab? Date: Wed, 17 Oct 1990 19:48:26 +0000 From: rhoward@msd.gatech.edu (Robert L. Howard) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.misc.mbox.zip!gmdzi!unido!mcsun!uunet!aplcen!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!pacbell.com!att!emory!gatech!prism!msd!rhoward Newsgroups: news.software.nn,news.misc Summary: Actually looking for standalone program.... Sender: news@prism.gatech.EDU Followup-To: news.software.nn Organization: Georgia Tech Research Institute Lines: 30 Posted: Wed Oct 17 20:48:26 1990