Subject: Awstats update cron job on AWS EC2 instance
Author: AwsEC2
In response to: Start the server
Posted on: 09/10/2012 08:31:24 PM
Finally, a simpler version (fixed time) of cron job is placed:
$ cat /etc/cron.d/awstats
45 03 * * * root /usr/local/awstats/tools/awstats_updateall.pl now
-awstatsprog=/usr/local/awstats/wwwroot/cgi-bin/awstats.pl
-configdir=/etc/awstats/ >/dev/null 2>&1
>
> On 09/04/2012 12:20:05 AM
AwsEC2 wrote:
# /etc/init.d/httpd start
Then verify AWStats by url:
http://example1.com/cgi-bin/awstats/awstats.pl
References: