What is de the best / preferred way to run awstats every hour on a server? Is this still the best methode? https://www.howtoforge.com/community/threads/howto-run-awstats-from-the-command-line.49603/ And what crontab should i edit to get this working? Thanks in advance. I ask this question because if i run /usr/local/ispconfig/server/cron_daily.sh, the time i see in the stats is changed to the newly run time, but the data hasn't changed, so no new stats data is added to awstats. I only see the data of the nightly run. But not the updated data i would like to see.
But why does the script not update the stats then? I don't see for example the data for today, only yesterday. So i think the recreation of the stats is incomplete, is there another script i need to run to update the stats data so i get stats every hour? Thanks for the quick response Till.
It might be that you will have to create a custom nginx config file for the website that points to dodays log and not the yesterday access log file.
It's a debian / apache server with ispconfig 3.0.5.4p5, so no nginx here. but there is no other way to get the stats updated every hour, as far as you know?
Sorry, I meant awstats config file. No. You have to run awstats to update the stats html file of the website.