]> git.pld-linux.org Git - packages/calamaris.git/commitdiff
- rotate squid logs and produce daily/weekly raports
authorArtur Frysiak <artur@frysiak.net>
Fri, 23 Apr 1999 13:03:26 +0000 (13:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calamaris.crontab -> 1.1

calamaris.crontab [new file with mode: 0644]

diff --git a/calamaris.crontab b/calamaris.crontab
new file mode 100644 (file)
index 0000000..ed228be
--- /dev/null
@@ -0,0 +1,8 @@
+PATH = /sbin:/bin:/usr/sbin:/usr/bin
+
+30 0 * * *     root    cat /var/log/squid/access.log.0 | \
+                       nice -39 calamaris -amH 'Squid log - daily' | \
+                       mail root
+0 3 * * 7      root    cat /var/log/squid/access.log.[0-6] | \
+                       nice -39 calamaris -amH 'Squid log - weekly' | \
+                       mail root
This page took 0.089957 seconds and 4 git commands to generate.