🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2548

last scan in nnadmin, where is this stored?

#2548
From: Chris Sherman
Date: Wed, 04 Mar 1992 18:56
24 lines
1727 bytes
I'm writting a script that will restart nnmaster if it dies or freezes.  
This script will be run from cron every hour or so (but not during
the expire run, which sometimes takes a few hours).

Anyway, nnmaster freezes sometimes, and you can tell this by looking
at the last scan field of 'nnadmin s'.  

Where does nnadmin get this time???

I tried looking at the source code, but that was way too confusing...
I might try again, if I have a few hours to kill.

I'm hoping I can find a Unix 4-byte time format of the scan time somewhere,
since the output of nnadmin is not a full date, and could cause problems at
year's end, etc.

BTW, does anyone have a script like this that they are willing to share???

Thanx for any help!!!
-- 
     ____/     /     /     __  /    _  _/    ____/
    /         /     /     /   /      /     /          Chris Sherman
   /         ___   /        _/      /          /
 _____/   __/   __/   __/ _\    _____/   _____/           sherman@unx.sas.com
Technical Details
Message-ID: <sherman.699735380@foster>
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!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!stanford.edu!rock!sas!mozart.unx.sas.com!wagner.unx.sas.com!foster!sherman

Show Full Headers
Complete Article Headers
Message-ID: <sherman.699735380@foster>
Subject: last scan in nnadmin, where is this stored?
Date: Wed, 04 Mar 1992 18:56:20 +0000
From: sherman@unx.sas.com (Chris Sherman)
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!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!stanford.edu!rock!sas!mozart.unx.sas.com!wagner.unx.sas.com!foster!sherman
Newsgroups: news.software.nn
Sender: news@unx.sas.com (Noter of &worthy Events)
Organization: SAS Institute Inc.
Lines: 25
Nntp-Posting-Host: foster.unx.sas.com
X-Bytes: 981