🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #167787

Part solved: [slrn] slrnpull as cronjob

#167787
From: Troy Piggins
Date: Tue, 14 Jun 2005 11:45
39 lines
2594 bytes
* Troy Piggins wrote:
>
> 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.

Ok, I think this was solved by sourcing .bash_profile again after adding
the NNTPSERVER entry for root.  I thought I had already done that, but
we all know what Thought did...

> (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?

This one is still not solved.  With slrnpull running ok at every 15
mins, at least my posts get sent regularly, just not directly.

Anyone else had this problem, or offer a solution?

-- 
T R O Y  P I G G I N S
e : usenet@piggo.com
Technical Details
Message-ID: <slrndatg8r.f04.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!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!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>

Show Full Headers
Complete Article Headers
Message-ID: <slrndatg8r.f04.usenet@piggo.com>
Subject: Part solved: [slrn] slrnpull as cronjob
Date: Tue, 14 Jun 2005 11:45:47 +0000
From: Troy Piggins <usenet@piggo.com>
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!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp4.phx1!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: 39
NNTP-Posting-Host: 203.166.254.144
X-Trace: 1118749547 per-qv1-newsreader-01.iinet.net.au 22894 203.166.254.144