[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Cron for AWStats



I installed the pkg from the site and everything went flawlessly on my
RaQ4i.

I have 4 people already email me saying how much easier it is to read in
just one day.

Since I use Auto Control Pro 3.0 the link is right in the user control
panel and all I had to do was change the link from /stats to /awstats.

I have to give Credit Where it is due!
It was a very nice and easy package to install. Thank You.



-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Brian N. Smith
Sent: Friday, December 13, 2002 10:00 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Cron for AWStats

---- Original Message -----
From: "Santiago Montalvan" <smontalvan@xxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, December 13, 2002 8:14 PM
Subject: [cobalt-users] Cron for AWStats


> The cron that I am trying to setup would be in either
/etc/cron.half-hourly
> or maybe /etc/cron.daily (if the AWStats info gets too big and the
load is
> too much for the server to run it every half hour).  The command that
the
> cron has to execute would be the following:
>
> #!/bin/sh
> #AWStats Script
>
/home/groups/home/web/webstats/awstats_buildstaticpages.pl
-config=www.bratt
>
ain.com -update -output
-awstatsprog=/home/groups/home/web/webstats/awstats.
> pl -dir=/home/groups/home/web/webstats
>
> The file would be saved as awstats.sh probably.  I tried that and for
some
> reason it did not work.  It did not create the new html files like it
was
_____________________________________

If you run it from the console, not with-in a shell script, do you get
your
desired
results?

If so, do an "ls -l" in your /etc/cron.<whatever> directory.  Make sure
that
it is
owned by ROOT, and has the "x" attribute.  If it doesn't.

chmod 550 awstats.pl

Btw, If you wanted a pkg for awstats for all your vsites, I made a
working
one
you can download it, if you want it.

http://www.nuonce.net/cobalt-files.php

It has the auto-update script, and uses the actually awstats.pl with the
"update" turned
off.  No complaints from anyone just yet!!!

~Brian

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users