Update cron-update-lxcs.sh

tweak
pull/1647/head
tteckster 1 year ago committed by GitHub
parent 71bece9d27
commit 86bb11f25f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,8 +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)\"") | sed "$!N; /^\(.*\)\n\1$/!P; D" | crontab -u root -' >>/var/log/update-lxcs-cron.log
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 -'
clear
echo -e "\n To view Update LXCs Cron logs: cat /var/log/update-lxcs-cron.log"
}

Loading…
Cancel
Save

Powered by BW's shoe-string budget.