Forum Moderators: bakedjake
This is what I currently have in my control panel's advanced (unix style) crontab thingy:
There are 5 boxes, the first one (minute) has 0, the rest have *.
/home/myusername/public_html/cgi-bin/awstats.pl -config=www.mysite.com -update > /home/myusername/public_html/awstats.txt
The text file is generated, but the stats don't appear to be updated. What am I doing wrong?
Jennifer
The txt file however does say this when the cron is run:
Error: awstats failed to create directory DirData (DirData="../awstats-archives", CreateDirDataIfNotExists=1).
Setup ('/home/[i]username[/]/public_html/cgi-bin/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Should I change the config file to awstats.www.domain.com.conf?
And what do you mean by the command line? I don't know if this matters, but I am doing this on a shared server environment, not on my computer....
Thanks for the help!
Jennifer
Create the directory it is asking for. Then, you may have to either make it world-writable or owned by the webserver user - check the awstats docs for details.