summaryrefslogtreecommitdiffstats
path: root/awstats/cron.awstats
diff options
context:
space:
mode:
Diffstat (limited to 'awstats/cron.awstats')
-rw-r--r--awstats/cron.awstats6
1 files changed, 6 insertions, 0 deletions
diff --git a/awstats/cron.awstats b/awstats/cron.awstats
new file mode 100644
index 0000000..ccec1cf
--- /dev/null
+++ b/awstats/cron.awstats
@@ -0,0 +1,6 @@
+#!/bin/sh
+/usr/share/awstats/tools/awstats_updateall.pl now \
+ -configdir=/etc/awstats \
+ -awstatsprog=/srv/http/awstats/cgi-bin/awstats.pl > /dev/null
+
+chmod -R og+r /var/lib/awstats