I have a script to start a VM. It runs fine when I manually initiate the script. But when I run it in a cron job, I get a 'qm: command not found' error.
Hi @cmrho ,
Your cron based job does not have all PATH components. This is the reason it cant find the "qm" command.
You either need to use absolute path to the binary, or define PATH in cron and/or your script.
Hi @cmrho ,
Your cron based job does not have all PATH components. This is the reason it cant find the "qm" command.
You either need to use absolute path to the binary, or define PATH in cron and/or your script.