Thread View: news.software.nntp
2 messages
2 total messages
Started by JohnCD
Thu, 14 Nov 2002 08:36
Automatic fetch when some thing is posted (INN & Newx)
Author: JohnCD
Date: Thu, 14 Nov 2002 08:36
Date: Thu, 14 Nov 2002 08:36
15 lines
1372 bytes
1372 bytes
Hello all, I'm running newsserver (INN) with a newsfeeder (newsx) under Red Hat 7.3. Everything works fine. Messages will be fetched/posted once a hour. So when some host posts a message to the server, it will be posted to the newsserver in less than 1 hour. 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? Please if you have any information, reply tot the group. THANKS @!@!@!
Re: Automatic fetch when some thing is posted (INN & Newx)
Author: Jeffrey M. Vinocur
Date: Thu, 14 Nov 2002 12:42
Date: Thu, 14 Nov 2002 12:42
29 lines
1885 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads