🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167783

Re: [slrn] slrnpull as cronjob

#167783
From: Troy Piggins
Date: Tue, 14 Jun 2005 05:32
49 lines
3009 bytes
* F wrote:
> On 14 Jun 2005 01:24:10 GMT, Troy Piggins <usenet@piggo.com> wrote:
>
[snip]
>>(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

Ok.  Will try that in root's crontab and see how it goes.  I assume this
will be my ISP's news server name?  I have that set in root's
.bash_profile in the NNTPSERVER variable, and understood that if the
'-h' option was not used with slrnpull, it uses $NNTPSERVER by default -
after all when I type 'slrnpull' on the commandline with no args it
works.  Nevertheless, I will use '-h' in crontab to test.

[snip]
>>(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.

Again, I do have that set as my IPS's nntp server in my (user=troy)
.bash_profile.  Still not working.

Any other ideas?

-- 
T R O Y  P I G G I N S
e : usenet@piggo.com
Technical Details
Message-ID: <slrndasqvo.e3d.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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrndasce1.cia.usenet@piggo.com> <d8lo6201prc@news4.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrndasqvo.e3d.usenet@piggo.com>
Subject: Re: [slrn] slrnpull as cronjob
Date: Tue, 14 Jun 2005 05:32:32 +0000
From: Troy Piggins <usenet@piggo.com>
References: <slrndasce1.cia.usenet@piggo.com> <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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet@piggo.com
User-Agent: slrn/0.9.8.1 (Linux)
Lines: 49
NNTP-Posting-Host: 203.166.254.144
X-Trace: 1118727152 per-qv1-newsreader-01.iinet.net.au 22910 203.166.254.144