🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167784

Re: [slrn] slrnpull as cronjob

#167784
From: F
Date: Tue, 14 Jun 2005 04:58
42 lines
2672 bytes
On 14 Jun 2005 01:24:10 GMT, Troy Piggins <usenet@piggo.com> wrote:

>After years of using slrn (0.9.8.1), I finally tinkered with slrnpull on
>the weekend.  So I compiled it in, added the entries in my .slrnrc [1],
>created the spool directories [2], put a slrnpull.conf in there [3], ran
>slrnpull as root, and it all went fine.  I love the speed I can read and
>open groups now.
>
>I have 2 problems/questions
>
>(1) So I thought my next step would be to simply to add a task in root's
>crontab every, say, 15 mins to keep things up to date and to post my
>articles.  For some reason that doesn't work, although running slrnpull
>manually as root does.  Here is the error message from slrnpull's log,
>although it doesn't really detail what the problem was:
>
>06/14/2005 09:46:00 slrnpull started.
>06/14/2005 09:46:00 Reading /var/spool/news/slrnpull/slrnpull.conf
>06/14/2005 09:46:00 Connecting to host localhost ...
>06/14/2005 09:46:00 ***Unable to initialize server.
>06/14/2005 09:46:00 A total of 0 bytes received, 0 bytes sent in 0
>seconds.

slrnpull -h news.server.name

>
>Any ideas?  How do you set up slrnpull?
>
>(2) Problem number 2 - Originally I had set post_object "slrnpull", but
>that meant that my posts were only sent to the nntp server when slrnpull
>was run (ie every 15 mins).  So I changed to set post_object "nntp"
>assuming that this would deliver directly.  But my posts still just sit
>in /var/spool/news/slrnpull/out.going until slrnpull is run (manually at
>the moment because of problem no. 1).
>
>So how do I set it up so my posts go directly, but only pull down when
>the cronjob is run?

You need to set up a hostname, I think the variable is
NNTPSERVER=news.server.name
in the .bashrc .bash_profile, /etc/profile, check the SLRN docs.
 
Technical Details
Message-ID: <d8lo6201prc@news4.newsguy.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!news.moat.net!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!news4
References: <slrndasce1.cia.usenet@piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <d8lo6201prc@news4.newsguy.com>
Subject: Re: [slrn] slrnpull as cronjob
Date: Mon, 13 Jun 2005 21:58:56 -0700
From: F <f@f.a.b.c.d>
References: <slrndasce1.cia.usenet@piggo.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!news.moat.net!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!news4
Newsgroups: news.software.readers
Organization: http://newsguy.com
Lines: 42
NNTP-Posting-Host: p-353.newsdawg.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent 2.0/32.652
X-No-Archive: yes