Hello,

I'm using a combination of Analog and Report Magic to generate statistics
reports, these are all generated at night. My problem is that I want to be
able to use a CGI program to generate online the statistics with Report
Magic. I have little knowledge about programming but I thought it wouldn't
be too difficult to adapt the CGI program that comes with Analog.
To get reports generated with Analog and Report Magic, Analog's output
should be writed to a file instead of to the browser window. Stephen told me
I should change line 506 fprintf(thepipe, "OUTFILE stdout\n"); in something
like fprintf(thepipe, "OUTFILE /usr/local/analog/report.dat\n"); . I've
tried different combinations but can't get them to work.
After Analog created the statistics file (COMPUTER OUTPUT) I want to start
Report Magic within the CGI program to analyse this file (always the same
file at the same place). After this the CGI program should write the URL
(also always the same) where the created reports are located to the browser.

I think this would be a very nice feature for both the Analog as ofcourse
the Report Magic program. As I'm not succeeding in this I wanted to ask
Stephen Turner, Jeremy Wadsack or any other member on this list who's
willing to help me with this.

Thanks for you help, Bart Wehrens.

Reply via email to