🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by FINN JENSEN Wed, 24 Mar 1993 19:29
How do I expire local nn database daily ?
#3922
Author: 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
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