On Tue, 3 May 2005, Jeremy Wadsack wrote:

> Yes, Verbose. And it's reports_ not statistics_. My mistake.
> (http://reportmagic.org/docs/repconf.html)

Bingo.

I commented out all the File_Out settings in the ini and generated the following
command-line to run reportmagic from a script:

/usr/share/reportmagic/rmagic.pl /usr/local/etc/apache/rmagic/site.ini 
-statistics_File_In=/home/site/logs/analog.dat 
-reports_File_Out=/home/site/html/stats/05-03-05/ 
-navigation_File_Out=/home/site/html/stats/05-03-05/nav.html

This seems to do the trick - now we can use the date to generate the pathname 
for the output folder:

Report Magic 2.21
Copyright (C) 1999-2003 Wadsack-Allen. All rights reserved.
rmagic: Beginning report creation (Tue May  3 15:32:07 2005).
rmagic: --> Settings file: /usr/local/etc/apache/rmagic/site.ini.
rmagic: --> Input data file: /home/site/logs/analog.dat.
rmagic: --> Output path: /home/site/html/stats/05-03-05/.
rmagic: --> Output frameset file: /home/site/html/stats/05-03-05/index.html.
rmagic: --> Output navigation file: /home/site/html/stats/05-03-05/nav.html.
rmagic: Creating report file in /home/site/html/stats/05-03-05/GENERAL.html.
rmagic: Creating report file in /home/site/html/stats/05-03-05/MONTHLY.html.
rmagic: ... Creating graph file in 
/home/site/html/stats/05-03-05/MONTHLY_line.png.
rmagic: Creating report file in /home/site/html/stats/05-03-05/DAILYSUM.html.
rmagic: ... Creating graph file in 
/home/site/html/stats/05-03-05/DAILYSUM_bar.png.
rmagic: Creating report file in /home/site/html/stats/05-03-05/HOURLYSUM.html.
rmagic: ... Creating graph file in 
/home/site/html/stats/05-03-05/HOURLYSUM_bar.png.
rmagic: Creating report file in /home/site/html/stats/05-03-05/DOMAIN.html.
rmagic: Creating report file in 
/home/site/html/stats/05-03-05/ORGANISATION.html.
rmagic: Creating report file in /home/site/html/stats/05-03-05/OSREP.html.
rmagic: Creating report file in /home/site/html/stats/05-03-05/STATUS.html.
rmagic: Creating report file in /home/site/html/stats/05-03-05/SIZE.html.
rmagic: ... Creating graph file in /home/site/html/stats/05-03-05/SIZE_bar.png.
rmagic: Creating report file in /home/site/html/stats/05-03-05/FILETYPE.html.
rmagic: ... Creating graph file in 
/home/site/html/stats/05-03-05/FILETYPE_bar.png.
rmagic: Creating report file in /home/site/html/stats/05-03-05/DIRECTORY.html.
rmagic: ... Creating graph file in 
/home/site/html/stats/05-03-05/DIRECTORY_bar.png.
rmagic: Creating report file in /home/site/html/stats/05-03-05/REQUEST.html.
rmagic: Creating report file in /home/site/html/stats/05-03-05/QUICK.html.
rmagic: Report creation complete (Tue May  3 15:32:08 2005).


Awesome! Thanks a bunch!

-- 
Aj.


_______________________________________________
This is the reportmagic-help mailing list
To change your subscription or other preferences use this URL:
   http://reportmagic.org/cgi-bin/mailman/listinfo/reportmagic-help

Reply via email to