34f91ba2061b805bc1a73a1a0df004a77c1040c6
Problem: The weekly DR test script worked when run manually but failed when executed via cron with "Failed to start VM 109" error at 0 seconds. Cause: Cron jobs run with a minimal PATH that doesn't include /usr/sbin where Proxmox commands (qm, pvesh, etc.) are located. Manual execution had the full PATH including /usr/sbin. Solution: Added explicit PATH export at the start of the script to ensure all required system binaries are accessible regardless of execution context. Testing: Successfully verified with cron test at 11:32 - VM started properly, restore process completed normally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided
Languages
PLSQL
52.5%
PowerShell
21.6%
Shell
17.8%
Batchfile
4%
Python
3.7%
Other
0.4%