PDA

View Full Version : Included AWStats



daveyw
09-13-2008, 09:58 AM
Hello boys and girls,

I've installed the included awstats in /usr/local/directadmin/scripts/ but now I got a problem.

My stats won't update automatic, so I need a bash script that can do this:

Grep's the username + the domain and then create's a new stats page


/usr/local/directadmin/scripts# ./awstats_process.sh
Usage:
./awstats_process.sh <user> <domain> (<subdomain>)
you gave #0: ./awstats_process.sh


Can someone make that or is there a other way to fix the problem?

smtalk
09-13-2008, 12:06 PM
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

daveyw
09-13-2008, 02:01 PM
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d


Thanks, i've added that now in my directadmin_cron. I don't know why it wasn't there.