Cron LXC Updater: Add full PATH for cron environment

This commit is contained in:
MickLesk
2026-04-02 17:56:40 +02:00
parent ca7811fd1a
commit 62b36cca41

View File

@@ -7,6 +7,9 @@
# This script is installed locally by cron-update-lxcs.sh and executed
# 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"
echo -e "\n $(date)"