Currently the way I have Awstats installed on my server, I run the following command to generate some static html reports:
/usr/local/awstats/tools/awstats_buildstaticpages.pl -update -config=mysite.com -dir=/srv/apps/mysite/awstats -awstatsprog=/usr/local/awstats/wwwroot/cgi-bin/awstats.pl
This works well enough, but I am trying to figure out how to load Awstats.pl directly similar to how it is done through cPanel. In cPanel when you load Awstats.pl you can update stats on the fly and there is also the option to sort through different months/years etc.
I am having trouble finding any documentation or tutorials on how to do this, any help would be much appreciated!