Created
January 9, 2025 21:49
-
-
Save sophuric/3025c94694b82334cc2ac6d380a87d59 to your computer and use it in GitHub Desktop.
Revisions
-
sophuric created this gist
Jan 9, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # /etc/crontab: configuration file for cron # See cron(8) and crontab(5) for details. # m h dom mon dow user command 0 * * * * root /root/idlenice /root/fetch-updates @reboot root /root/idlenice /root/fetch-updates This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ #!/bin/bash pidof -sq pacman || { ping example.com -qw2 -c1 && checkupdates -d; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ #!/bin/sh nice -n 19 ionice -c 2 -n 7 "$@"