Ok, I’ve been following the instructions in the wiki on installing awstats and have a few questions that hopefully someone here can help me with. I haven’t used cron jobs or shell access before.
- step 11 says to type in a perl command:
Enter this command:
perl /home/yourusername/awstats/tools/awstats_buildstaticpages.pl -config=example.com
-update -awstatsprog=/home/yourusername/awstats/awstats.pl -dir=/home/yourusername/example.com/statistics/
Where do I enter this? In a file? I downloaded Putty for shell access and used it to connect and tried entering it there, but it said “Error: couldn’t open config file “awstats.mysite.com.conf” nor “awstats.conf” etc…”
So then I tried to skip ahead and do the cron job. I entered crontab -e and it brought up a screen (pico) and I typed in the line from the wiki (changing the data as needed for my domain/account) and when I tried to exit and save it it said:
no crontab for username - using an empty one
no modification made
I know I’m probably missing something simple, but I’ve been looking through the knowledge base and the forums and haven’t quite figured it out yet. Help? Thanks!