Article View: news.software.nntp
Article #80007Re: Cron job for pullnews
From: John F. Morse
Date: Sat, 10 Jan 2009 17:01
Date: Sat, 10 Jan 2009 17:01
70 lines
3725 bytes
3725 bytes
Ray Banana wrote:
> Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
>
>
>> If I want pullnews to run more often than once an hour, say, every 30
>> minutes, how would I create that? Perhaps additional lines in the
>> /etc/cron.d/ file, such as:
>> 15 * * * * news /usr/lib/news/bin/pullnews
>> 45 * * * * news /usr/lib/news/bin/pullnews
>>
>> Or would something like the following be more proper?:
>>
>> 15,45 * * * * news /usr/lib/news/bin/pullnews
>>
>> Or even:
>>
>> */15 * * * * news /usr/lib/news/bin/pullnews
>>
>
> */30, if it's supposed to run every 30 minutes ;-)
> Apart from that, I would prefer this last form, as it's syntax is the
> most compact.
>
Correct. I had every 15 minutes on my mind when I used that figure.
>> I don't need an e-mail message every time pullnews runs. Does the -q
>> flag stop the e-mail generation?
>>
>
> As cron will generate a mail if the script produces any output, I would
> pipe STDOUT to /dev/null. This way you will only receive a mail if
> pullnews writes to STDERR, which may be desirable.
>
Wouldn't that eliminate any e-mail, including the daily report, etc.?
Maybe I'm not understanding just where you would put the pipe, or if it
would be a pipe ("|") or a redirect (">").
>> What would you suggest I use to push this group back to Usenet via my
>> ISP? Pullnews(8) states:
>>
>
> You will certainly only want to feed back the articles that originate
> from your server. Hence, I would set up a feed for this group in
> newsfeeds, using the O flag, and feed it to your ISP using newsx. Maybe
> you should use newsx for retrieving articles as well, as it can do a
> two-way synchronisation with one configuration and one invocation.
> It may be a bit more complicated to configure than pullnews, but it's
> certainly worth looking at.
I'll do some reading. Thanks, Ray.
BTW, did you increase the a.b.joker group's permitted size? I'm seeing
much larger articles as of yesterday, but don't know if it is a change
in just innd, or nnrpd as well.
--
John
No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID:
<gkak94$bp3$1@optima7.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!feeder.erje.net!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mailReferences:
<gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$1@optima7.xanadu-bbs.net> <80iqonzfu9.fsf@banana.shacknet.nu>Show Full Headers
Complete Article Headers
Message-ID: <gkak94$bp3$1@optima7.xanadu-bbs.net> Subject: Re: Cron job for pullnews Date: Sat, 10 Jan 2009 11:01:23 -0600 From: "John F. Morse" <xanadu.bbs@example.invalid> References: <gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$1@optima7.xanadu-bbs.net> <80iqonzfu9.fsf@banana.shacknet.nu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!feeder.erje.net!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 70 Reply-To: dont.bother NNTP-Posting-Host: wintergreen18.xanadu-bbs.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: optima7.xanadu-bbs.net 1231606884 12067 192.168.89.180 (10 Jan 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Sat, 10 Jan 2009 17:01:24 +0000 (UTC) User-Agent: Thunderbird 1.5.0.14ubu (X11/20090105) In-Reply-To: <80iqonzfu9.fsf@banana.shacknet.nu>