go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Awstats update cron job on AWS EC2 instance
 
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:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.