Sponsored Content
Full Discussion: hi
Top Forums Shell Programming and Scripting hi Post 302199217 by din_annauniv on Monday 26th of May 2008 05:47:32 AM
Old 05-26-2008
hi

actually i am trying to run a script which will produce some log files during the run. these output / log files r to be stored in a folder named on the current date under logs
for eg i want something like 26-may-2008/logs
in which the log files created today should b stored
 
SCANLOGS(8)						      System Manager's Manual						       SCANLOGS(8)

NAME
       scanlogs - summarize INN log files.

SYNOPSIS
       scanlogs [ norotate ] [ nonn ]

DESCRIPTION
       Scanlogs  summarizes  the information recorded in the INN log files (see newslog(5)).  By default, it also rotates and cleans out the logs.
       It is normally invoked by the news.daily(8) script.

KEYWORDS
       The following keywords are accepted:

       norotate
	      Using this keyword disables the rotating and cleaning aspect of the log processing: the logs files are only scanned for  information
	      and no contents are altered.

       nonn   Normally the nn log file is scanned and rotated.	Using this keyword disables this function.

       If scanlogs is invoked more than once a day, the ``norotate'' keyword should be used to prevent premature log cleaning.

HISTORY
       Written by Landon Curt Noll <chongo@toad.com> and Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  This is revision 1.1, dated 1996/10/29.

SEE ALSO
       innd(8) newslog(5), news.daily(8), nnrpd(8).

																       SCANLOGS(8)
All times are GMT -4. The time now is 05:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy