From e49f51533e191ba5dbde33f88f74001c2a0fa2fe Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 26 Aug 2021 01:36:20 +0200 Subject: Added crontab to remove unrequired packages --- crontab/root.crontab | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crontab/root.crontab') diff --git a/crontab/root.crontab b/crontab/root.crontab index 48cb3ab..dbe87f6 100644 --- a/crontab/root.crontab +++ b/crontab/root.crontab @@ -1,5 +1,6 @@ # Meant to be installed as root -0 12 */2 * * pacman --noconfirm -Syu >> /var/log/pacman_update.log +0 12 */2 * * pacman --noconfirm -Syu +20 12 */2 * * pacman -Qdt | xargs pacman --noconfirm -Rns # vim:ft=crontab -- cgit