I installed and configured awstats as per Webfaction documentation, and the awstats page loads but it continued to say "Never updated (See 'Build/Update' on awstats_setup.html page)" after two days of patiently waiting. I can manually run the /awstats/update_awstats.sh script, and this works fine, but the script is not running automatically every hour as I believe it should. If the script is supposed to be run as a cron job, then perhaps the reason it didn't get configured is that I already have cron jobs configured (which were untouched by the awstats installation). Can someone can tell how to get the script running automatically (when I run it manually I HAVE to run it from from the directory its located in $HOME/webapps/awstats otherwise it can't find the files referenced). Not sure how to manage this up in crontab... (not knowing much about Linux) asked 01 Nov '11, 19:02 rohan |
The crontab entry should look like this (replace 'stats' with your app's name),
answered 01 Nov '11, 19:17 johns |
Great thanks, that should work. For anyone else with the same problem the exact command is:
(change "awstats" to whatever you named your app as during installation) answered 01 Nov '11, 19:33 rohan |