Update cron-update-lxcs.sh
tweak
This commit is contained in:
parent
86bb11f25f
commit
3d8d8fc867
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue