From 76c47e268abe8a5de2e11d07ed697d1d45590954 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 8 Sep 2016 10:55:27 +0200 Subject: CRON: Run apt-get update another time at 11am. So that Icinga may report required package updates during the day. --- debian/changelog | 2 ++ etc/cron.d/itzks-systems-common | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 677e9b0..7684760 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ itzks-systems (2016.09.07.2) UNRELEASED; urgency=medium * CRON: Run apt-get clean every morning, so the /var partition does not get filled with unneeded packages. + * CRON: Run apt-get update another time at 11am. So that Icinga may report + required package updates during the day. -- Mike Gabriel Thu, 08 Sep 2016 10:53:02 +0200 diff --git a/etc/cron.d/itzks-systems-common b/etc/cron.d/itzks-systems-common index 5fc02cf..1287712 100644 --- a/etc/cron.d/itzks-systems-common +++ b/etc/cron.d/itzks-systems-common @@ -4,5 +4,5 @@ PATH=/usr/bin:/bin:/usr/sbin:/sbin @reboot root apt-get autoclean 1>/dev/null # make latest package lists available to the user and Icinga -0 7,15 * * * root if [ ! -e /etc/lts.conf ]; then apt-get update 1>/dev/null 2>/dev/null; fi -15 8 * * * root if [ ! -e /etc/lts.conf ]; then apt-get clean 1>/dev/null 2>/dev/null; fi \ No newline at end of file +0 7,11,15 * * * root if [ ! -e /etc/lts.conf ]; then apt-get update 1>/dev/null 2>/dev/null; fi +15 8 * * * root if [ ! -e /etc/lts.conf ]; then apt-get clean 1>/dev/null 2>/dev/null; fi \ No newline at end of file -- cgit v1.2.3