From 4eca77df13fc71ea472f5abf4db8c8c62652d7e9 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Sat, 9 May 2020 21:53:24 +0200 Subject: [PATCH] Add 'cron' directory with download packages script --- .local/bin/cron/checkup | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/cron/checkup diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup new file mode 100755 index 0000000..fa81ceb --- /dev/null +++ b/.local/bin/cron/checkup @@ -0,0 +1,5 @@ +#!/bin/sh + +ping -q -c 1 1.1.1.1 > /dev/null || exit 1 + +pacman -Syyuw --noconfirm