# Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command #=========================================================================================== # Auto Logout #=========================================================================================== 25 13 * * * XDG_RUNTIME_DIR=/run/user/$(id -u) notify-send "Logout Warning" "5 Minutes remaining!" 29 13 * * * XDG_RUNTIME_DIR=/run/user/$(id -u) notify-send -u critical "Logout Warning" "1 Minute remaining!" # https://github.com/swaywm/sway/issues/1136 30 13 * * * SWAYSOCK=/run/user/$(id -u)/sway-ipc.$(id -u).$(pgrep -x sway).sock swaymsg exit #===========================================================================================