So continued from my previous blogs, I wanted to discuss scheduling jobs in ESXi. Due to the way ESXi is made, you cannot edit the cron jobs and expect them to still be there with their changes past a reboot. Rebooting an ESXi server clears the cron jobs. The cron jobs reset back to their default settings.
In my last blog post I spoke of a program called Plink. Plink is a command line interface to Putty. This allows us to connect to an SSH session from the command line. This can be leveraged using batch scripting and windows scheduled tasks to schedule ESXi jobs.
For my example I will show you how to schedule the ghettoVCB.sh script I spoke about in my last blog entry. Please see my detailed instructions on how to do this in my blog post here.