🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1770

Re: expire in nn

#1770
From: Ing. J. Gabriel Ruiz P.
Date: Thu, 13 Jun 1991 15:18
47 lines
2907 bytes
alexis@panix.uucp (Alexis Rosen) writes:

>jgabriel@mtecv2.mty.itesm.mx (Ing. J. Gabriel Ruiz P.) writes:
>>  In our site we have this line in our crontab file:
>>10 6 * * * ( /usr/lib/news/expire ; /usr/local/bin/nnadmin =EYW )
>>  In this way you're sure the cnews expire ends and the nn one start.

>If this is really a direct quote you've got a problem. Perhaps you meant:

>#  run nnadmin to expire the NN database once the Cnews expire is complete
>10 5 * * * /usr/lib/newsbin/expire/doexpire ; /usr/local/bin/nnadmin =EYW

>Of course, you said you were using Cnews. If you're really using Bnews, that
>may be right. (I think it may be but I don't remember Bnews too well.)

   You're right, I'm using Bnews, my idea was just to explain in what
  order he must run the Cnews expire and the nn one. Realy, my crontab
  line look like this:

10 6 * * * ( /usr/lib/news/expira ; /usr/local/bin/nnadmin =EYW )
                                ^
                                |- an 'a' instead an 'e'

    This is because, I'm using a perl script to do a more selective
   expiration, sort like Cnews does.

>BTW, I know that the "=" to the nnadmin means that it should run silently.
>But as far as I can tell this isn't documented anywhere... or does anyone
>know different?

    I just know one reference of the silent mode in the nn manual, in
 the "The Master Menu" part of the nnadmin manual, when is explained
 the C)heck option, the manual says: 
   "In the interactive mode and in verbose batch mode (nnadmin MC), print a
    message telling whether nnmaster in running or not. In silent batch mode
                                                           ^^^^^^^^^^^^^^^^^
    (nnadmin =MC) exit with a status code of 0 if nnmaster is running and 1
    ^^^^^^^^^^^^^
    otherwise; this may be useful is administrative scripts."
                                  ^^
                                  I think is an error in the manual here, 
                                  it must be 'in'. :)

-- 
Juan Gabriel Ruiz Pinto                   Internet:
Ing. Sistemas Electronicos                jgabriel@mtecv2.mty.itesm.mx
I.T.E.S.M. Campus Monterrey
Technical Details
Message-ID: <3465@mtecv2.mty.itesm.mx>
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!uunet!cs.utexas.edu!wotan!moxie!lobster!menudo.uh.edu!mtecv2!jgabriel
References: <1991Jun11.164331.22551@sparc.vitro.com> <3460@mtecv2.mty.itesm.mx> <1991Jun13.063802.1643@panix.uucp>

Show Full Headers
Complete Article Headers
Message-ID: <3465@mtecv2.mty.itesm.mx>
Subject: Re: expire in nn
Date: Thu, 13 Jun 1991 15:18:06 +0000
From: jgabriel@mtecv2.mty.itesm.mx (Ing. J. Gabriel Ruiz P.)
References: <1991Jun11.164331.22551@sparc.vitro.com> <3460@mtecv2.mty.itesm.mx> <1991Jun13.063802.1643@panix.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!uunet!cs.utexas.edu!wotan!moxie!lobster!menudo.uh.edu!mtecv2!jgabriel
Newsgroups: news.software.nn
Keywords: expire nn
Organization: ITESM. Campus Monterrey
Lines: 47