From 203934b7ed8c292ef62102c98850be989bcc3319 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 24 Mar 2023 09:04:26 +0200 Subject: [PATCH] var/spool/cron: add README.md & root's crontab --- var/spool/cron/README.md | 4 ++++ var/spool/cron/root | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 var/spool/cron/README.md create mode 100644 var/spool/cron/root diff --git a/var/spool/cron/README.md b/var/spool/cron/README.md new file mode 100644 index 00000000..d5da12fb --- /dev/null +++ b/var/spool/cron/README.md @@ -0,0 +1,4 @@ +# User crontabs + +Don't edit these directly, use `crontab -e` instead! And also consider +making a systemd service instead! diff --git a/var/spool/cron/root b/var/spool/cron/root new file mode 100644 index 00000000..55dce34c --- /dev/null +++ b/var/spool/cron/root @@ -0,0 +1,7 @@ +# 3rd party Xbox controller initialization. See Mikaela/gist/gayming/ +@reboot /root/fixcontroller.py + +# BTRFS deduplication (on Lumina at least) +@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/home.hash /home +@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak +@reboot /usr/sbin/duperemove -rdhq --hashfile=/root/snap.hash /var/lib/snapd