diff options
Diffstat (limited to '.local/bin/cron')
| -rwxr-xr-x | .local/bin/cron/checkup | 2 | ||||
| -rwxr-xr-x | .local/bin/cron/newsup | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup index 4cfb856..bd3c634 100755 --- a/.local/bin/cron/checkup +++ b/.local/bin/cron/checkup @@ -2,8 +2,6 @@ # Syncs repositories and downloads updates, meant to be run as a cronjob. -ping -q -c 1 example.org > /dev/null || exit - notify-send "📦 Repository Sync" "Checking for package updates..." sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates. diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup index 29f2b3c..cc50e78 100755 --- a/.local/bin/cron/newsup +++ b/.local/bin/cron/newsup @@ -3,8 +3,6 @@ # Set as a cron job to check for new RSS entries for newsboat. # If newsboat is open, sends it an "R" key to refresh. -ping -q -c 1 example.org > /dev/null || exit - /usr/bin/notify-send "📰 Updating RSS feeds..." pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit |
