It seems that all the suggestions for using/scheduling awstats is via crontab, as such:
0 * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=mysite -update >/dev/null
(running awstats hourly).
However, if I check crontab -l
, it says crontab is empty for my user.
However, when I check the /etc/cron.hourly
, I've got an awstats file with the following:
#!/bin/bash
exec /usr/share/awstats/tools/awstats_updateall.pl now -configdir="/etc/awstats" -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl" >/dev/null
exit 0
Just to let you know, my awstats is updated fine, it creates its reports, and all is good.
Does running a crontab command create an entry in the specified cron folder? (ie cron.hourly or cron.daily, etc) ? Or are they unrelated? If they are related, why is my user without a crontab entry?