🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11262

Expiring via Cron Job

#11262
From: Rodney C. Marable
Date: Mon, 30 Sep 1996 00:00
23 lines
1358 bytes
I've been getting mail from my news server every day before it runs the 
news report that it had problems expiring articles.  Now I know that just 
setting EXPDIR in news.daily won't solve the problem:

>If you set the EXPDIR variable by passing 'expdir=/foo' on the
>news.daily command line in cron, REASON gets set normally. But it
>doesn't get set if you edit the EXPDIR= line in the news.daily script.

What's the proper way to add that variable to news' cron file? Currently, 
it is:

40 23 * * * /opt/gnu/news/bin/news.daily delayrm
0,10,20,30,40,50 /opt/gnu/news/bin/nntpsend

Thanks in advance.
-- 
| Rodney C. Marable           | Email: <marable@socialaw.com>          |
| Associate Computer Engineer | Phone: 617.523.0018 x377               |
| Social Law Library          | "You didn't think I'd let that slide." |


Technical Details
Message-ID: <52orhp$5af@netra.socialaw.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <52orhp$5af@netra.socialaw.com>
Subject: Expiring via Cron Job
Date: Mon, 30 Sep 1996 00:00:00 +0000
From: rmarable@socialaw.com (Rodney C. Marable)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 186247919
Organization: Social Law Library
Mime-version: 1.0
Newsgroups: news.software.nntp