awstats: Add update-stats script and call it hourly.
[matthijs/servers/drsnuggles.git] / etc / cron.hourly / update-stats
diff --git a/etc/cron.hourly/update-stats b/etc/cron.hourly/update-stats
new file mode 100755 (executable)
index 0000000..d05e7e3
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Call update-stats to update the awstats config and run awstats on all access
+# logs.
+
+/usr/local/bin/update-stats > /dev/null