Re: snget and the right time.
Patrik Rådman <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
Wolfgang Scheicher <[email protected]> wrote: > On Thursday 02 October 2003 23:25, Patrik Rådman wrote: > > Wolfgang Scheicher <[email protected]> wrote: > >> I'm quite a newbie to News and just set up sn for the internal network > >> with some local groups, and one group from the providers news server. > >> > >> currently i just call snget per cronjob every view minutes to keep that > >> extern group up to date. > >> > >> Is there eventually a way to sync immediately after posting? i tried to > >> write snget into /usr/sbin/POST, but it blocks the client until snget > >> finishes. And it would be cool to sync when a client connects and looks > >> for new posts in that group. (maybe except if the last snget did just run > >> a view seconds ago) > > > > Try sngetd... I've never used it myself, but it's supposed to do > > approximately that. > > i now did try with sngetd > > when running sngetd and putting a echo into /usr/sbin/POST to write the > newsgroup name to .fifo, it does sync when doing one post. > but when echoing a 2nd time to .fifo, i get a > "sngetd:Already fetched/fetching for <newsgroup>", and does not sync any more. > just keeps telling the same error over and over again for each post. Well. Normally it's just snntpd that writes stuff to the fifo, so this may be a case of "never thought of that". So you are online all the time, and want posts to go out as soon as they are posted? Then why not just read the group from the upstream server and post articles there, if you are in such a hurry that you can't wait for a cronjob to run snget. :) -- Patrik Rådman · patrik at iki dot fi · http://www.iki.fi/patrik/ "I know this because Tyler knows this."