If you know any vbscript, you might want to take a look at my Analog_run.vbs ( http://www.christopherlewis.com/CodeSamples.htm ), which includes the ability to run weekly reports (i.e. given any single day, it calcs the FROM/TO for Sunday to Saturday).
It would be relatively easy to program it for quarterly reports. It
doesn't play the game of fixing the LOGFILE line, but I've found that
Analog itself is quite smart at figuring out the appropriate files to
read.
Oh, calculating the date 7 days (or 3 months) ago is not a problem. I've got a 100 line shell script that generates all my various reports, which does this without difficulty.
The only tedious part is building a string of the 7 (or 90) log file names for the command line. That's the part I'm asking about. Is there a trick to specifying the filename format/mask that I'm missing?
I guess I'm trying to say that a start date and an end date are needed to explicitly define an arbitrary range of time. A single date, combined with any YMD mask, can only define certain ranges of time implicit in the format: Y's, M's, and D's. Even if my filenames contained the W(eek) and Q(uarter) info, I'd be limited to only one, whichever single date I supplied.
The more I think about that, the more I believe I'll have to continue specifying all the files on the command line for non-single-Y, non-single-M, and non-single-D reports. Or hack analog to do this.
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 +------------------------------------------------------------------------
