🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3922

How do I expire local nn database daily ?

#3922
From: FINN JENSEN
Date: Wed, 24 Mar 1993 19:29
34 lines
1548 bytes
Subj.: How do I expire local nn-database daily ?

I would like to automatically expire a local nn-database every
day. In the "/usr/adm/daily" I have inserted

.
PATH=/usr/ucb:/bin:/usr/bin:/etc:/usr/local/bin

{lines deleted}

echo "Expire News"
msgs -c
if [ -f /usr/local/bin/nnadmin ]; then
        echo ""
        echo "Running nnadmin:"
        nnadmin ey	
fi


But no expire is performed and in the mail-log to root from
running /usr/adm/daily is says "No HOME environment variable"
when trying to run "nnadmin ey". 
Running "nnadmin ey" manually when logged in as root works 
as expected without errors.
What am I doing wrong ?  Sorry if this is trivial but I am no
UNIX expert !

Please answer using E-mail and thanks in advance ....

Setup: nn-6.4.1, Sony NWS-3860 workstation, BSD 4.3

Finn M. Jensen             (E-mail: i6finn@aud.auc.dk)
University of Aalborg, Sohngaardsholmsvej 57
DK-9000 Aalborg, Denmark, Europe
Technical Details
Message-ID: <01GW76TNN33K9TFGYD@AUD.AUC.DK>
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!sparky!uunet!cs.utexas.edu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <01GW76TNN33K9TFGYD@AUD.AUC.DK>
Subject: How do I expire local nn database daily ?
Date: Wed, 24 Mar 1993 19:29:15 +0000
From: I6FINN@AUD.AUC.DK (FINN JENSEN)
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!sparky!uunet!cs.utexas.edu!not-for-mail
Newsgroups: news.software.nn
Organization: UTexas Mail-to-News Gateway
Lines: 34
Sender: daemon@cs.utexas.edu
NNTP-Posting-Host: cs.utexas.edu