From 59416a2513a4b188176b9c7d8faedec2337126c8 Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Fri, 23 Apr 1999 13:03:26 +0000 Subject: [PATCH 1/1] - rotate squid logs and produce daily/weekly raports Changed files: calamaris.crontab -> 1.1 --- calamaris.crontab | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 calamaris.crontab diff --git a/calamaris.crontab b/calamaris.crontab new file mode 100644 index 0000000..ed228be --- /dev/null +++ b/calamaris.crontab @@ -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 -- 2.44.0