scheduled tasks - Azure VM - turning it on and off automatically -


I currently have an auction VM (Windows Server 2012) and all this is a batch process run once a day for about an hour. It's just sitting idle for the rest of the time.

As I have paid every hour when VM is turned on, it is possible to set it up 24 times as much as what I want, so that it turns only for a few hours of the day.

Perhaps a set time is on and it stops or turns to a set time and then if it closes itself to waste more than a specified period?

Can not start a VM automatically; You have to put VM (s) in the question outside. It's easy to do this through PowerShell ( Start-AzureVM ) or cross-platform CLI ( azure vm start ). Similar order to stop a VM.

To do this, on a determined basis, you will either need to set up your own timer, or use something like this.


Comments