commit 092d353632b8706cd21524a1cedf4e6f475c40c4 parent 55a9f80c56ae4c606e18c9a3a151ce0d24647ba4 Author: Matthew Carlson <matt@mcarlson.xyz> Date: Tue, 31 May 2022 16:52:19 -0400 torr and rss in crontab; elogind setting to prevent sleep when laptop lid is closed Diffstat:
M | etc/crontab | | | 10 | ++++++---- |
A | etc/elogind/logind.conf | | | 2 | ++ |
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/etc/crontab b/etc/crontab @@ -1,4 +1,6 @@ -0 12 * * * su -c '/home/mc/.local/bin/backup.sh' - 0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/mail.sh -g' mc - 0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/pkgs.sh -g' mc -0 12 * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/vultr.sh' mc +0 12 * * * su -c '/home/mc/.local/bin/backup.sh' + 0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/mail.sh -g' mc + 0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/pkgs.sh -g' mc + 0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/rss.sh -g' mc + 0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/torr.sh -r' mc +0 12 * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/vultr.sh' mc diff --git a/etc/elogind/logind.conf b/etc/elogind/logind.conf @@ -0,0 +1,2 @@ +[Login] +HandleLidSwitch=ignore