Under Unix, it's simple enough to use the date command to generate matching dates for your log files. You can do this similarly in WSH on Windows.
That's what I'm doing now. Not hard, just tedious. And seemingly unnecessary since I supply the from and to dates, a log name format, and we happen to have a calendar system with consistent rules. It feels like I'm giving someone a map and instructions to drive from here to Chicago, but still having to specify right|left|straight for every intersection along the way.
However, if you are running daily, weekly, monthly and quarterly reports on the same data you should look at the cache file feature: http://analog.cx/docs/cache.html. The best method I have found is to generate cache files nightly from each day's log files and then use those cache files to build the larger period reports. It reducing processing, simplifies name matching (because you can control the names of the cache files) and is generally a cleaner solution.
I remember reading about that, and will look into it again. I seem to recall that some information is lost when cached, and will have to check if that's information that I need to report.
Thanks, Tim -- Tim Larson, Webmaster LovelySkin.com 402.334.SKIN For a more beautiful you, surf us!
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
