Article View: news.software.nntp
Article #80016Re: Cron job for pullnews
From: Black Dragon
Date: Sun, 11 Jan 2009 15:17
Date: Sun, 11 Jan 2009 15:17
153 lines
7200 bytes
7200 bytes
John F. Morse wrote: > Black Dragon wrote: >> 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! ;) > Thanks for the info. I do appreciate it. > OK, so you aren't a n00b anymore. *snort* I havn't been a n00b in a long time! > Why didn't you show your brains earlier? ;-) That wouldn't be very much fun, now would it? ;) > Please never take my "flames" personally. Don't fret about that. I can dish it out as well as the next guy, and I can take it. > Please accept my apology if what I said in the past offended you. It was > not meant to be offensive, and if sounding like it was, I may have taken > a stab at some dry, wry humor, which I also enjoy. It's all good, if I were offended or insulted I would have lashed back. And it quite likely would have been profane enough to make a drunken sailor blush. ;) > cut way back on the cron frequency, to maybe once every six or 12 hours. I have a cron job sucking news once per hour. And another checking for outgoing articles every five minutes and posting (connecting to my provider) only when they exist. > I do have a detailed mailbox setup here. I use my ISP for external email and only system mail is local now. I used to enjoy running a mail server on a dynamic (residential) account, and that used to be quite common, but spammers have long since ruined email to the point where it's a major pain in the ass so I gave up completely. > Everything here is using a BIND9 DNS server, Same here. I have mine configured to use an Alternative DNS Root. http://public-root.com http://inaic.com http://en.wikipedia.org/wiki/Alternative_DNS_root > and I'm maintaining 58 computers in my HOUSE now Got me beat there. Since my son moved out a few weeks ago I'm down to 5 including my main server. He took his desktop and laptop with him. If you count his Playstation 3 that was a total of 8. I was 50 short and am glad I don't have your electric bill. :) > Did I ever comment before that Windows sucks? This is the first time > I've ever seen Vista, and I tell you the truth, it sucks at several > magnitudes greater than XP! My son has ran both 64 bit versions of Windows XP and Vista on his laptop and prefers Vista. I monkeyed around a bit with Vista on the laptop but only when I was setting up wireless access to my network and didn't have any trouble with it. The IT kids at the shop don't like Vista at all though, and neither do the company owners. One of the IT kids is a big Apple fan though and is the main reason we've got two several month old 20" iMacs here now. :) > How difficult is it to configure and use Suck? I've looked at it many > times over several YEARS since 2004, but have not actually found my > missing roundtuit. I can not compare to anything else because when I decided to run a local news cache / server for the first time roughly 8 years ago, I went straight for INN + suck. No Leafnode, Noffle, Hamster, slrnpull or anything else. I used the 'bigger hammer' method mainly so I could get a grasp on how Usenet actually worked. I am anything but an expert with this stuff, I do it as a hobby, you already know my true calling is in metalworking. suck is non trivial to set up for the first time. The only suggestion I can offer at this time is to download [*] a source tarball for suck, build it, then see the scripts in the sample directory. The scripts I run via cron on my system were derived from the get.news.inn script which is written to both fetch and post news. I split up the same script to get and post news separately and have made many modifications to them over the years. The most recent change was get.news.inn used rpost (part of the suck distribution) to post news locally and that caused issues with moderated newsgroups (rpost is like posting with a news reader) I added to the server. I had to configure suck to write a batch file of articles downloaded and transfer them to the server using innxmit to fix the moderated groups problem. [*] FTP Site: Site1 = sunsite.unc.edu Path1 = /pub/Linux/system/news/transport File1 = suck-4.3.2.tar.gz > Would you say that Pullnews is sufficient for only one group having > maybe 25 articles each day, maybe adding one or two, and rejecting the > remainder because they already made it to the spool through the peer? See above. > I still need to try and get something going to push any locally-posted > articles back to my cable ISP's news server. Maybe newsx is or could be > better than trying Suck? Consideration is both in the learning curve, > and the CPU load, which is probably insignificant even with the old > AMD-K5 266 MHz CPU. Top indicates the server is barely working: The CPU load for this stuff is negligible at a local level. I used to run it on 300MHz PIII with 256MB RAM with about 100 text newsgroups. Since moving it to a much better machine (AMD Opteron) the main difference I've noticed is expensive scoring in slrn is MUCH faster. Cheers! -- Black Dragon Getting the job done is no excuse for not following the rules. Corollary: Following the rules will not get the job done.
Technical Details
Message-ID:
<gkd2i9$498$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.wiretrip.org!news.alt.netReferences:
<gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$1@optima7.xanadu-bbs.net> <gkarqh$2d78$1@bdhi.local> <gkb11l$eui$1@optima7.xanadu-bbs.net>Show Full Headers
Complete Article Headers
Message-ID: <gkd2i9$498$1@bdhi.local> Subject: Re: Cron job for pullnews Date: Sun, 11 Jan 2009 15:17:29 +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> <gkarqh$2d78$1@bdhi.local> <gkb11l$eui$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.wiretrip.org!news.alt.net Newsgroups: news.software.nntp Organization: Black Dragon Heavy Industries Lines: 153 User-Agent: slrn/0.9.8.1 (FreeBSD)