🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2861

Re: nn Log file growing w/o bounds

#2861
From: C. R. Oldham
Date: Thu, 18 Jun 1992 14:55
17 lines
1616 bytes
fish@stx.com (john r. vanderpool) writes:

>is there some way to keep the Log file of nn trimmed
>down - i guess i could do just like i do for /usr/adm
>files that grow without bound and rotate them out using
>a crontab entry  (i.e. mv nn/Log nn/oldLog; touch nn/Log)

NNadmin has a command to truncate the log and save the contents
in Log.old.  (Press 'l' for L)og, then '@' to clean).  NNadmin
commands can also be invoked from the command line, so you
could put it in your crontab, and even have cron mail you a copy
of Log.old so you could see what had been going on.

Charles R. (C. R.) Oldham | North Central Association, Commission on Schools
cro@socrates.ed.asu.edu or| Arizona State University, Tempe, AZ 85287-3011
aocro@acvax.inre.asu.edu  | 602/965-8700:800/525-9517 | #include <disclaimer.h>
"For the Lord is a great God, and a great King above all gods..." Psalm 95:3
Technical Details
Message-ID: <cro.708879348@ennews!socrates.ed.asu.edu>
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!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!asuvax!ennews!socrates!cro
References: <fish.708807208@news2.gsfc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <cro.708879348@ennews!socrates.ed.asu.edu>
Subject: Re: nn Log file growing w/o bounds
Date: Thu, 18 Jun 1992 14:55:48 +0000
From: cro@socrates.ed.asu.edu (C. R. Oldham)
References: <fish.708807208@news2.gsfc.nasa.gov>
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!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!asuvax!ennews!socrates!cro
Newsgroups: news.software.nn
Keywords: nn Log
Sender: news@ennews.eas.asu.edu (USENET News System)
Organization: North Central Association, Commission on Schools
Lines: 17