From 3d8d8fc867cac8c619638ad0e6b102653b0782c7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 17 Jul 2023 18:41:44 -0400 Subject: [PATCH] Update cron-update-lxcs.sh tweak --- misc/cron-update-lxcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cron-update-lxcs.sh b/misc/cron-update-lxcs.sh index 63fb34bd..9a1f3b7b 100644 --- a/misc/cron-update-lxcs.sh +++ b/misc/cron-update-lxcs.sh @@ -26,7 +26,7 @@ while true; do esac done -sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * * bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/update-lxcs-cron.sh >>/var/log/update-lxcs-cron.log 2>&1)\"") | sed "$!N; /^\(.*\)\n\1$/!P; D" | crontab -u root -' +sh -c '(crontab -l -u root 2>/dev/null; echo "0 0 * * * bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/update-lxcs-cron.sh)\"") | sed "$!N; /^\(.*\)\n\1$/!P; D" | sudo crontab -u root - >> /var/log/update-lxcs.log' clear echo -e "\n To view Update LXCs Cron logs: cat /var/log/update-lxcs-cron.log" }