Was not sure where exactly to put this, but it is software used in the hosting industry. Anyways, I need help setting up a cron to run every night and automatically update my stats.
The documentaion for the tool awstats_updateall.pl is rediculous at best.
I see there are some options within the script for the following:
=============================
my $DIRCONFIG = "/etc/awstats";
my $Debug=0;
my $Awstats='awstats.pl';
my $AwstatsDir='';
my $AwstatsProg='';
===========================
What the heck difference is there between '$DIRCONFIG' and '$AwstatsDir'? Same question goes for '$Awstats' and '$AwstatsProg'.
Secondly, my hosting company does not allow you to run cron jobs with options, for example awstats_updateall.pl - update. So, I would need to create a secondary script that calls the awstats_updateall.pl with the proper options and run that newly created script as a cron.
I am not a programmer by trade, would anyone be so kind as to write the simple script to do so? I would be ever so grateful!