aboutsummaryrefslogtreecommitdiff
path: root/crontab
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-08-26 01:36:20 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-08-26 01:36:20 +0200
commite49f51533e191ba5dbde33f88f74001c2a0fa2fe (patch)
tree604fb94d874f3b09c8c915a67ec2c62774159f3f /crontab
parent04bb6725e3605567fca9b98b7aee8077dcc030b4 (diff)
downloaddotfiles-e49f51533e191ba5dbde33f88f74001c2a0fa2fe.tar.gz
dotfiles-e49f51533e191ba5dbde33f88f74001c2a0fa2fe.tar.bz2
dotfiles-e49f51533e191ba5dbde33f88f74001c2a0fa2fe.zip
Added crontab to remove unrequired packages
Diffstat (limited to 'crontab')
-rw-r--r--crontab/root.crontab3
1 files changed, 2 insertions, 1 deletions
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