🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121317

Re: [slrn] User crontab

#121317
From: Blinky the Shark
Date: Thu, 06 Mar 2003 04:32
63 lines
3344 bytes
Mike Vanecek wrote:

> On 5 Mar 2003 07:31:50 GMT, Blinky the Shark wrote:
>> Mike Vanecek wrote:

>>> On Tue, 4 Mar 2003 20:56:07 +0000, Dave wrote:
>>>> On 4 Mar 2003 13:42:04 -0600, Mike Vanecek wrote:

>>>>> Here is the user rhread crontab I have set up -- will have to wait until
>>>>> tonight to see if it runs correctly:

>>>>> # check for cleanscore daily and mail results to rhread
>>>>> 0 3 * * * /usr/local/bin/cleanscore -f /home/rhread/News/Score -v 2>&1
>>>>>  | mail -s "cleanscore output" rhread

>>>>> All on one line of course.

>>>> At 3AM every day, run Cleanscore with the file "/home/rhead/News/Score",
>>>> pipe the expired entries to an email with the subject "cleanscore output",
>>>> and send to 'rhead'.

>>>> ... unless I'm mistaken. :)

>>> That what I expect to see. Should have a message waiting for me in the
>>> morning.

>> If that's just a reality check, you might not need it.  If the aging
>> fails, every time you run slrn, you'll see a list of all of the expired
>> rules (that still remain).  If you start seeing those, then somehthing's
>> borken with cleanscore.

> Are you talking about the message in the status line that says, "Num
> Killed, Num High, Num Low" when I open a group?  Is the Num Killed the
> number of expired rules which, if cleanscore is working, should stay
> very small?

No, I mean in your console, along with the other slrn messages you get
(about slrn, macros, etc.) before slrn opens into it.

> I also found that cron sends a message automatically so that the entry
> in the user crontab need only be:

> 0 3 * * * /usr/local/bin/cleanscore -f /home/rhread/News/Score

> I received two messages today. One due to the auto status and the other
> due to the pipe. The auto status said something about a null body.

> BTW, which is better, score on reference or score on subject to set up a
> watch thread?

I answered that with my opinion, the first time you asked.  Recheck thread.
(Or, maybe, after I send this, I'll see that you've already responded there.

> Thanks, Mike.

You betcha.

-- 
Blinky
Hot! New! Windows RG Released:  http://snurl.com/WinRG (SWF Req'd)
Have A Safe Trip:               http://snurl.com/ubj   (SWF Req'd)

Technical Details
Message-ID: <slrnb6djqv.725.no.spam@dora.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
References: <7f3fj-932.ln1@news.invalid.99computer> <b4344g$1r9i3r$1@ID-73175.news.dfncis.de> <juufj-or5.ln1@news.invalid.99computer> <slrnb6b9v9.28d.no.spam@dora.blinkynet.net> <sbmhj-pqt.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb6djqv.725.no.spam@dora.blinkynet.net>
Subject: Re: [slrn] User crontab
Date: Thu, 06 Mar 2003 04:32:29 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <7f3fj-932.ln1@news.invalid.99computer> <b4344g$1r9i3r$1@ID-73175.news.dfncis.de> <juufj-or5.ln1@news.invalid.99computer> <slrnb6b9v9.28d.no.spam@dora.blinkynet.net> <sbmhj-pqt.ln1@news.invalid.99computer>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3
Newsgroups: news.software.readers
Organization: http://web.newsguy.com/dogfish
Lines: 62
NNTP-Posting-Host: p-391.newsdawg.com
X-Face: 2>F?t\N7kFTpb6sG|e2cuzRA(L4FtF6koan|T+7,H\_{f$yyIg:HgH2+*nj[|D"cn0MLB1T)%TKU:zIA4W^|INUd;Nl^mz8?om>w<v;TAQ%e5=}4|{XZ]!pZ'0{c{}jDDa2,htb/D/+
User-Agent: slrn/0.9.7.4 (Linux)