From c55b8aca0df48eea973b20053803cda6ca7d9815 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 27 Jul 2016 11:32:43 +0200 Subject: CRON: Run apt-get update twice per day, so that Icinga has access to recent package lists. --- debian/changelog | 2 ++ etc/cron.d/itzks-systems-common | 3 +++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index fe76c04..0c15e11 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ itzks-systems (2016.07.19.2) UNRELEASED; urgency=medium * debian/control: + The check_dirvish.py plugin additionally requires python3 and python3-dateutil. + * CRON: Run apt-get update twice per day, so that Icinga has access to + recent package lists. -- Mike Gabriel Tue, 19 Jul 2016 19:20:45 +0200 diff --git a/etc/cron.d/itzks-systems-common b/etc/cron.d/itzks-systems-common index e85bb4c..f229c84 100644 --- a/etc/cron.d/itzks-systems-common +++ b/etc/cron.d/itzks-systems-common @@ -2,3 +2,6 @@ MAILTO=root 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 -- cgit v1.2.3