Article View: news.software.readers
Article #206885Re: [leafnode] Instant Upload
From: Rikishi 42
Date: Mon, 01 Oct 2007 22:51
Date: Mon, 01 Oct 2007 22:51
32 lines
2126 bytes
2126 bytes
On 2007-09-27, Blinky the Shark <no.spam@box.invalid> wrote: > Is there a way to get leafnode to upload a post when I send it from my > client, so it doesn't have to wait until the next leafnode cron job? I run a script to fetch news every 10 min in the hours I'm n ormally at home, for the text-only groups. Any binary groups are fetched at night, when my ISP counts half volumes. The script tests if there is a outgoing post waiting. If there is, it makes a post-only run and sleeps a few secs before fetching the news. That way, I get my own posts back in the same cron job. #! /bin/bash if [ `ls "/var/spool/news/out.going/" | wc -l` -ne 0 ]; then # Have a post-only run sudo -u news /usr/sbin/fetchnews -vP # Wait long enough for the post be digested by the upstream server echo sleeping 10 sec sleep 10 fi sudo -u news env "LN_SKIP_GROUPS=alt.binar*" /usr/sbin/fetchnews -v -- There is an art, it says, or rather, a knack to flying. The knack lies in learning how to throw yourself at the ground and miss. Douglas Adams
Technical Details
Message-ID:
<k8a8t4-g23.ln1@whisper.very.softly>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!club-internet.fr!feedme-small.clubint.net!news.astraweb.com!border2.a.newsrouter.astraweb.com!hwmnpeer01.ams!news.highwinds-media.com!kramikske.telenet-ops.be!nntp.telenet.be!biebel.telenet-ops.be.POSTED!b6153e94!not-for-mailReferences:
<slrnffo7oj.jlt.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <k8a8t4-g23.ln1@whisper.very.softly> Subject: Re: [leafnode] Instant Upload Date: Tue, 2 Oct 2007 00:51:32 +0200 From: Rikishi 42 <skunkworks@rikishi42.net> References: <slrnffo7oj.jlt.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!club-internet.fr!feedme-small.clubint.net!news.astraweb.com!border2.a.newsrouter.astraweb.com!hwmnpeer01.ams!news.highwinds-media.com!kramikske.telenet-ops.be!nntp.telenet.be!biebel.telenet-ops.be.POSTED!b6153e94!not-for-mail Newsgroups: news.software.readers User-Agent: slrn/0.9.8.0 (Linux) Lines: 32 NNTP-Posting-Host: 84.197.243.236 X-Trace: biebel.telenet-ops.be 1191279803 84.197.243.236 (Tue, NNTP-Posting-Date: Tue, 02 Oct 2007 01:03:23 CEST