🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80010

Re: Cron job for pullnews

#80010
From: Black Dragon
Date: Sat, 10 Jan 2009 19:10
28 lines
2041 bytes
John F. Morse wrote:

> I don't need an e-mail message every time pullnews runs.

You may want to reconsider that. I run INN + suck and the email from the
cron jobs comes in handy when things go wrong. If you don't think things
can or will go wrong, I very highly suggest you reconsider that too. :)

My cron jobs are run as the news user. I configure them in a .crontab
file in the news user home directory and load .crontab using the crontab
program. (man (1) crontab & man (5) crontab) On FreeBSD users aren't 
allowed to setup cron jobs by default, but that's configurable on a
global or per user basis, don't know about Linux systems.

The email is trivial to handle. I use mail aliases to redirect all news
mail to my main user acct then use procmail store it in an organized
fashion keeping the suck mail separated from the INN mail, etc. It's all
automated of course.

I'm just throwing this out there as a little food for thought for you.
There are many different ways to skin-the-cat so to say. And here's to
hoping you don't throw the n00b card out on me the next time I disagree
with you about something in another newsgroup. Cheers! ;)

-- 
Black Dragon

If Murphy's law can go wrong, it will.
Technical Details
Message-ID: <gkarqh$2d78$1@bdhi.local>
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.teledata-fn.de!news.doubleslash.org!open-news-network.org!news.glorb.com!news2.glorb.com!news.alt.net
References: <gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$1@optima7.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <gkarqh$2d78$1@bdhi.local>
Subject: Re: Cron job for pullnews
Date: Sat, 10 Jan 2009 19:10:09 +0000
From: Black Dragon <bd@nomail.invalid>
References: <gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$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.teledata-fn.de!news.doubleslash.org!open-news-network.org!news.glorb.com!news2.glorb.com!news.alt.net
Newsgroups: news.software.nntp
Organization: Black Dragon Heavy Industries
Lines: 28
X-No-Archive: yes
User-Agent: slrn/0.9.8.1 (FreeBSD)