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. --- etc/cron.d/itzks-systems-common | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/cron.d') 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