🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11336

Re: Expiring via Cron Job

#11336
From: Michael Handler
Date: Wed, 02 Oct 1996 00:00
23 lines
1397 bytes
In <52orhp$5af@netra.socialaw.com>,
Rodney C. Marable <rmarable@socialaw.com> wrote:

> >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

40 23 * * * /opt/gnu/news/bin/news.daily delayrm expdir="/path/to/dir"

-- 
Michael Handler <handler@netaxs.com>          Net Access System Administration
Voice: (215) 576-8669                              Support: support@netaxs.com
DNS: hostmaster@netaxs.com                             USENET: news@netaxs.com
         "There's still crime in the city / But it's good to be free"


Technical Details
Message-ID: <slrn553gjd.i0h.handler@access.netaxs.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
References: <52orhp$5af@netra.socialaw.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn553gjd.i0h.handler@access.netaxs.com>
Subject: Re: Expiring via Cron Job
Date: Wed, 02 Oct 1996 00:00:00 +0000
From: handler@netaxs.com (Michael Handler)
References: <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
X-Deja-AN: 186586749
Organization: Paladin of the Lost Inode
Newsgroups: news.software.nntp