At 05:47 AM 6/3/1999 , you wrote:
>Hi all,
>
>Is there a way to specify which analog.cfg file analog should use in the
>command line ? Currently we use an automated batch file to run analog, but
>we want to specify other .cfgs to use. The command line we run it with
>already is :
>
>analog log.html ex*.log

Here's a script I use. I run this as a crontab entry twice a day. I assume a
DOS batch file would work similarly. This is my setup for Redhat Linux 5.2
using Apache to host various virtual domains. I put the stats output in the
customer's main directory.

# update stats on EXAFSco
/etc/httpd/analog3.11/analog > /www/exafsco/stats.html

# update stats on badkitty
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/badkittyrocks.cfg >
/www/badkittyrocks/stats.html

# update stats on lyonsrecords
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/lyonsrecords.cfg >
/www/lyonsrecords/stats.html

# update stats on silkcat
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/silkcat.cfg >
/www/silkcat/stats.html

# update stats on pwa engineers
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/pwa.cfg >
/www/pwa/stats.html

# update stats on blackdog
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/blackdog.cfg >
/www/blackdog/stats.html

# update stats on musiclord
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/musiclord.cfg >
/www/musiclord/stats.html

# update stats on magic carpet ride
/etc/httpd/analog3.11/analog -G +g/etc/httpd/analog3.11/magiccarpetride.cfg >
/www/magiccarpetride/stats.html

Paul Franz

PAF Consulting Engineers       |  427 - 140th Ave NE     
(425)614-2865 voice            |  Bellevue, WA 98005
(425)614-2906 fax/msg          |  <http://www.eucleides.com>
<mailto:[EMAIL PROTECTED]>    |  Merlin GT - N14UW
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to