Thread View: news.software.nntp
2 messages
2 total messages
Started by Rodney C. Marable
Mon, 30 Sep 1996 00:00
Expiring via Cron Job
Author: Rodney C. Marable
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
23 lines
1358 bytes
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." |
Re: Expiring via Cron Job
Author: Michael Handler
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
23 lines
1397 bytes
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"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads