So, latest #Linux weirdness:

I have a series of commands ‘VMBoxManage’ that I want to call from a cron job.

If I execute the commands as my user, no issue. If I execute the commands as a cron job (as my user) no issue. If I put the commands in a nice tidy bash script, and call it from the CLI or cron, no worky. (Command not found)

EDIT: actual error message is “cannot execute: required file not found”

I currently have it working with a massive, ugly command in cron. (I.e. /usr/bin/command1 && /usr/bin/command2 &&…) but it’s ugly.

How fix?

@crispius You might need to check your PATH variable. You can set it in the crontab file, or in the script itself. Another option would be to make the calls to VMBoxManage use the full path. You can find it by running 'which VMBoxMange' in a terminal.
@carlt4
Calling with the full path.