Well, it looks like somehow in the different revisions of the script, the mode wasn't set. I'm not sure why, but setting that got it to run stable in cron.
It is strange, and I only noticed it because I was comparing some of the different versions out there.
This is the user options section:
VM_HOME=/home/vmware/
BACKUP_DEST=/media/backup
VMWARE_CMD=/usr/bin/vmware
DEBUG=true
DAYS_TO_KEEP_TAR=6
MODE=suspend (this is what I added back)
Thanks for the effort.
Main Topics
Browse All Topics





by: WizRd-LinuxPosted on 2007-12-18 at 12:25:34ID: 20495112
Before line 180 in the code snippet add an echo command as well as after the line to see if it actually ends up there. You may find that the variable VM_WAS_RUNNING is being dropped for some reason and it is never being passed through when ran from Crontab