[leafnode-list] Re: Setting fetchnews to only fetch, or only post, news.

Nollaig MacKenzie nollaig at amhuinnsuidhe.net
Wed Jan 24 16:14:55 CET 2007


On 2007.01.24 13:58:59, you,
 the extraordinary uni-dortmund at asktoby.com, opined:

> Is it possible to set fetchnews to only fetch, or only post, news?
> 
> At the moment, my root user has this cronjob:
> *\10 * * * * /usr/sbin/fetchnews -f >> /var/log/crontablog 2>&1
> 
> and what I'd love would be something like:
> *\10 * * * * /usr/sbin/fetchnews -fetch >> /var/log/crontablog 2>&1
> *\15 * * * * /usr/sbin/fetchnews -post >> /var/log/crontablog 2>&1
> ...where the -f and -p denote fetch only and post only.
> 
> This would allow news to be fetched on one schedule but posted on a
> different schedule.
> There doesn't seem to be provision for this in the fetchnews manpage.
> 
> Any possibility of this?
> =======================

[Mac OSX, leafnode 1.11.5]

	fetchnews -P

will post but not fetch. I would guess that the author
expected that users would want to get posts out on a
faster schedule than that for regular downloading. 
(Mine is post every 5 minutes, download every hour).

You could write a little script which moved articles
out of '..../out.going', ran fetchnews, then moved the
articles back to '..../out.going'.

Cheers, N.

-- 
Nollaig MacKenzie
http://www.amhuinnsuidhe.net



More information about the leafnode-list mailing list