🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #206766

Re: [leafnode] Instant Upload

#206766
From: Blinky the Shark
Date: Fri, 28 Sep 2007 19:25
25 lines
2558 bytes
Robert Spanjaard wrote:
> 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).

I wondered about a lock, but forgot to ask.  Thanks.

-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project moved to this site August 28th:
http://improve-usenet.org 
Technical Details
Message-ID: <slrnffqla2.ebs.no.spam@thurston.blinkynet.net>
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!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.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> <pan.2007.09.28.18.32.55.426259@arumes.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnffqla2.ebs.no.spam@thurston.blinkynet.net>
Subject: Re: [leafnode] Instant Upload
Date: Fri, 28 Sep 2007 19:25:22 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <slrnffo7oj.jlt.no.spam@thurston.blinkynet.net> <pan.2007.09.27.22.25.15.39579@arumes.com> <slrnffpjb9.3tf.pjr@pjr.gotdns.org> <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!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net http://improve-usenet.org
Lines: 25
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net MI4Sb50M+eWatFSYR6CfLQR6ib76Mn1XukQUiawcp0UjVqZPWl
Cancel-Lock: sha1:np5scbu0rxZNQsB3jJEKdoJGsYA=
X-The-Usenet-Improvement-Project: http://improve-usenet.org
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva 2006 Linux; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1pl2.1 (Linux)