mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 18:13:50 +00:00
Cron LXC Updater: Add full PATH for cron environment (#13473)
This commit is contained in:
committed by
GitHub
parent
ffffe960ce
commit
70cc9749fa
@@ -7,6 +7,9 @@
|
|||||||
# This script is installed locally by cron-update-lxcs.sh and executed
|
# This script is installed locally by cron-update-lxcs.sh and executed
|
||||||
# by cron. It updates all LXC containers using their native package manager.
|
# by cron. It updates all LXC containers using their native package manager.
|
||||||
|
|
||||||
|
# Ensure full PATH when running via cron (pct lives in /usr/sbin)
|
||||||
|
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
|
||||||
CONF_FILE="/etc/update-lxcs.conf"
|
CONF_FILE="/etc/update-lxcs.conf"
|
||||||
|
|
||||||
echo -e "\n $(date)"
|
echo -e "\n $(date)"
|
||||||
|
|||||||
Reference in New Issue
Block a user