Good Morning Everyone,
Unfortuantely i am still having cron job issues with ghettoVCB.sh. Running the script with this command works.... ./ghettoVCB.sh vmlist. However running a crontab with this entry:
0 20 * * 1,2,3,4,5 /vmscripts/ghettoVCB.sh /vmscripts/vmlist produces issues. The folders are created with vmx files, but no vmdk files are produced.On the esx server i have created a directory at this location - /vmscripts and have placed the ghettoVCB.sh and text input file.
Here is the output of running cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
The paths look correct as it was suggested that the issue may be path definition in my respective cron job, but everything appears correct as far as i can see. Can anyone assist?
Stevester