Add crontab to vmware

Edit file: /var/spool/cron/crontabs/root

39 0 * * * /vmfs/volumes/datastore1/tools/ghettoVCB/ -a

Restart crontab job after updating configuration file

After editing the crontab you also need to kill and restart the crond process, which you can do like this:

kill -HUP $(cat /var/run/
/usr/lib/vmware/busybox/bin/busybox crond

Make it persistent

Edit file /etc/rc.local.d/

/bin/echo "39 0 * * * /vmfs/volumes/datastore1/tools/ghettoVCB/ -a" >> /var/spool/cron/crontabs/root

Leave a Reply

Your email address will not be published. Required fields are marked *