diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-27 11:32:43 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-27 11:32:43 +0200 |
commit | c55b8aca0df48eea973b20053803cda6ca7d9815 (patch) | |
tree | 131503513cc3f8f309a0f8aaa14898b2ee0f3597 | |
parent | 2f93832543434cf73e6e4522c933d7251856f4b1 (diff) | |
download | itzks-systems-c55b8aca0df48eea973b20053803cda6ca7d9815.tar.gz itzks-systems-c55b8aca0df48eea973b20053803cda6ca7d9815.tar.bz2 itzks-systems-c55b8aca0df48eea973b20053803cda6ca7d9815.zip |
CRON: Run apt-get update twice per day, so that Icinga has access to recent package lists.
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | etc/cron.d/itzks-systems-common | 3 |
2 files changed, 5 insertions, 0 deletions
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 <mike.gabriel@das-netzwerkteam.de> 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 |