🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61970

Re: Automatic fetch when some thing is posted (INN & Newx)

#61970
From: Jeffrey M. Vinocur
Date: Thu, 14 Nov 2002 12:42
29 lines
1885 bytes
In article <8cbe3813.0211140036.586ad552@posting.google.com>,
JohnCD <wenoi6@hotmail.com> wrote:
>
>Now this is what I want: I want to start fetching (newsx) directly
>when a article is posted. Does anyone know how I can get newsx to
>start automatically when a article is posted?

Might be easier just to run newsx more often, of course.

You can configure newsfeeds(5) to do pretty much *anything* when
an article is posted.  (I assume newsx is robust against multiple
copies running at once.)  If your only upstream has Path entry
"foo", try something like

kick-newsx!/foo:\
        :*\
        :Tp:/usr/local/bin/newsx ...

which will run /usr/local/bin/newsx any time an article appears
which doesn't have ...!foo!... in the Path header.  

If you suck from multiple places you, can do /foo1,foo2,foo3:
instead.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ar05oe$td5$2@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <8cbe3813.0211140036.586ad552@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <ar05oe$td5$2@puck.litech.org>
Subject: Re: Automatic fetch when some thing is posted (INN & Newx)
Date: Thu, 14 Nov 2002 12:42:54 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <8cbe3813.0211140036.586ad552@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 28
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1037277774 30117 66.218.0.75 (14 Nov 2002 12:42:54 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 14 Nov 2002 12:42:54 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)