Esxi Crontab
Edit the file /etc/rc.local.d/local.sh (it is a permanent file, it stay after Esxi reboot)
copy to clipboard
don't forget to set the script as executable copy to clipboard
#add to crontab a task echo "01 00 1,15 * * root /vmfs/volumes/datastore1/script/backupVM.sh" >> /var/spool/cron/crontabs/root #stop crontab process kill $(cat /var/run/crond.pid) #start crontab process crond
don't forget to set the script as executable copy to clipboard
chmod +x /vmfs/volumes/datastore1/script/backupVM.sh