diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-08 10:55:27 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-08 10:55:27 +0200 |
commit | 76c47e268abe8a5de2e11d07ed697d1d45590954 (patch) | |
tree | 47d533b443808510cf479afda85ced4b0d65ec00 | |
parent | ae90a6d54e90faf722a3b9d7b91bdc3ab8aa59c5 (diff) | |
download | itzks-systems-76c47e268abe8a5de2e11d07ed697d1d45590954.tar.gz itzks-systems-76c47e268abe8a5de2e11d07ed697d1d45590954.tar.bz2 itzks-systems-76c47e268abe8a5de2e11d07ed697d1d45590954.zip |
CRON: Run apt-get update another time at 11am. So that Icinga may report required package updates during the day.
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | 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 <mike.gabriel@das-netzwerkteam.de> 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 |