mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-22 16:23:21 +01:00
Update cron-update-lxcs.sh
tweak
This commit is contained in:
parent
f0742abb2e
commit
71bece9d27
@ -26,7 +26,7 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
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.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)\"") | sed "$!N; /^\(.*\)\n\1$/!P; D" | crontab -u root -' >>/var/log/update-lxcs-cron.log
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo -e "\n To view Update LXCs Cron logs: cat /var/log/update-lxcs-cron.log"
|
echo -e "\n To view Update LXCs Cron logs: cat /var/log/update-lxcs-cron.log"
|
||||||
|
Loading…
Reference in New Issue
Block a user