Re: Monthly Report
Aengus <[email protected]> Wed, 03 Sep 2008 07:03:17 -0400
| Newsgroups | gmane.comp.web.analog.general |
|---|---|
| Message-ID | <[email protected]> |
On 9/3/2008 6:22 AM, Terry Chambers wrote: > I've got my logs being dropped into directories such that each day of logs > have their own location. > > e.g. > > 2008/09/01 > 2008/09/02 > > etc. > > I currently run only daily and weekly reports. I've used the command line > to specify 7 different log file paths and that works. > > If I want to run a monthly report, will the command line accept 31 log file > paths? Or will I need to write a script to either copy/move the log files > into fewer directories? The length of the command line depends on the Operating System. In the unlikely event that you ran into a problem with the length of the command line, you could create an additional config file, for example august.cfg, and call it from the command line, like thist: analog +gaugust.cfg .... The config file would just contain LOGFILE entries: LOGFILE 2008/08/01/* LOGFILE 2008/08/02/* LOGFILE 2008/08/03/* etc. Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------