From ae90a6d54e90faf722a3b9d7b91bdc3ab8aa59c5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 8 Sep 2016 10:54:20 +0200 Subject: CRON: Run apt-get clean every morning, so the /var partition does not get filled with unneeded packages. --- etc/cron.d/itzks-systems-common | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/cron.d/itzks-systems-common') diff --git a/etc/cron.d/itzks-systems-common b/etc/cron.d/itzks-systems-common index f229c84..5fc02cf 100644 --- a/etc/cron.d/itzks-systems-common +++ b/etc/cron.d/itzks-systems-common @@ -5,3 +5,4 @@ PATH=/usr/bin:/bin:/usr/sbin:/sbin # 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 -- cgit v1.2.3