
This will allow updating from the web browser with.
#Cgi bin awstats pl full#
Remember replacing with full path to Tomcat. LogFile="/webapps/awstats/WEB-INF/tools/ /logs/*.log |" You must look for the attributes and change their values as shown below: Now, we will change some file default values.
#Cgi bin awstats pl update#
Using " awstats_" will call " "Īnd run an update for all config-files to be found in the Now -awstatsprog=$HOME/awstats/cgi-bin/ -configdir=$HOME/awstats/cgi-bin/ Of " awstats_", a tool that comes withĪWStats, by choosing this alternative cron job (withoutġ5 4 * * * perl $HOME/awstats/tools/awstats_ If you have many config files, adding lots of cron jobs may

Make sure there is a trailing empty line at the end of yourĬrontab file (after your last command-line). Your config file (for your dog add another cronjob). This cron job will update AWStats at 4.15am on a daily basis. As discussed before, I suggest updating on a dailyġ5 4 * * * perl $HOME/awstats/cgi-bin/ In order automatically update AWStats, you will need to # perl /home/jsmith/awstats/wwwroot/cgi-bin/ -config=mysite -update -showcorrupted from cron This works only if you have SSH access or you do it locally. Once the update occurs you will be able to see the information Link then check AllowToUpdateStatsFromBrowser in your config This sets the month andĬlick the 'update now' button at the top. On the serverĮnter the URL to your program and the name of theĪ generic AWStats screen should show up. Txt file in the statdata directory is updated or created. Update the database before creating the reports. The mytools batch files use awstats_ toĬreate traffic reports. Screen by selecting the corresponding Reported period month and Have to be updated again it can be viewed in the main AWStats Once a monthly database file has been updated, it does not (specified in config's LogFile entry), parses it, and creates/updates a Regardless of where invoked, the update process reads the log file The database directory is specified in the config file's

When aĭatabase is updated AWStats creates a backup with the. Have made the AWStats database in the statdata directory. Needs to be created/updated before any statistics can be viewed. The awstats database, which is really a collection of text files,
#Cgi bin awstats pl install#
