🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #206762

Re: [leafnode] Instant Upload

#206762
From: Robert Spanjaard
Date: Fri, 28 Sep 2007 18:32
20 lines
2172 bytes
On Fri, 28 Sep 2007 09:46:17 +0000, Peter J Ross wrote:

>> If it's possible, you should edit inetd.conf and replace the execution of
>> leafnode by a script which executes leafnode followed by fetchnews -P
>> (=post only). But I'm not sure if inetd allows the use of scripts.
>>
>> If it doesn't work, you could setup a new cron job which executes
>> fetchnews -P every 5 minutes, for example.
> 
> Another possible solution would be a shell script that looks at
> /var/spool/news/out.going/ and runs fetchnews -P if the directory
> isn't empty and fetchnews isn't already running. Run the script with
> cron every minute or every 30 seconds.

Fetchnews uses a lockfile to check if an instance is running already. So
there's no need to check it in a script (again).

-- 
Regards, Robert                                      http://www.arumes.com
Technical Details
Message-ID: <pan.2007.09.28.18.32.55.426259@arumes.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!213.239.142.3.MISMATCH!border-2.ams.xsnews.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!multikabel.net!feed10.multikabel.net!post30.multikabel.net!textcache20.multikabel.net!not-for-mail
References: <slrnffo7oj.jlt.no.spam@thurston.blinkynet.net> <pan.2007.09.27.22.25.15.39579@arumes.com> <slrnffpjb9.3tf.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.09.28.18.32.55.426259@arumes.com>
Subject: Re: [leafnode] Instant Upload
Date: Fri, 28 Sep 2007 20:32:55 +0200
From: Robert Spanjaard <spamtrap@arumes.com>
References: <slrnffo7oj.jlt.no.spam@thurston.blinkynet.net> <pan.2007.09.27.22.25.15.39579@arumes.com> <slrnffpjb9.3tf.pjr@pjr.gotdns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!213.239.142.3.MISMATCH!border-2.ams.xsnews.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!multikabel.net!feed10.multikabel.net!post30.multikabel.net!textcache20.multikabel.net!not-for-mail
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse.mk@prolocation.net
Organization: Multikabel
Lines: 20
NNTP-Posting-Host: 84.105.182.41 (84.105.182.41)
NNTP-Posting-Date: Fri, 28 Sep 2007 21:08:10 +0200
X-Trace: a552146fd511af1cc138c30063