🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #208

Re: nnadmin from cron

#208
From: Steve A Rooke
Date: Tue, 20 Mar 1990 07:49
21 lines
1355 bytes
lrul00@dixel.Kodak.COM (Richard C. Dempsey) writes:

>I am having trouble invoking nnadmin from cron to do the nightly espire on the
>database.  Every morning, I see in my mailbox a letter from root with the output
>from the cron job.  Unfortunately, nnadmin is supposed to run quietly!

>I have the following line in root's crontab:

>20 2 * * * su - news /usr/local/bin/nnadmin EW

Have you tried:

20 2 * * * su news -c "/usr/local/bin/nnadmin EW"

Regards

Steve
Steve Rooke  steve@gapos.bt.co.uk  (...mcvax!ukc!gapos!steve)  UK + 394 693595
BT, ITS/CS, Area 106, Anzani House,   | "You roll the dice with your heart
Trinity Ave, FELIXSTOWE, Suffolk, UK  |   and soul,  But some times you
#include <std/disclaimer>             |    just don't know." - Sam Brown
Technical Details
Message-ID: <1454@gapprd.gapos.bt.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!ukc!axion!gapos!gapos!azh01!steve
References: <1123@eastman.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <1454@gapprd.gapos.bt.co.uk>
Subject: Re: nnadmin from cron
Date: Tue, 20 Mar 1990 07:49:24 +0000
From: steve@gapos.bt.co.uk (Steve A Rooke)
References: <1123@eastman.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!ukc!axion!gapos!gapos!azh01!steve
Newsgroups: news.software.nn
Sender: news@gapos.bt.co.uk
Lines: 21
Posted: Tue Mar 20 08:49:24 1990