SOLVED How to schedule power on/off VM?

AndrewYu

Cadet
Joined
Aug 21, 2020
Messages
5
How to schedule power on/off VM?

I want to schedule power on win10 vm.
How can I do?
 

seanm

Guru
Joined
Jun 11, 2018
Messages
570
As in: schedule a VM to turn on/off at a specific day? time? at boot?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
  1. From shell as root, run midclt call vm.query | jq. This will give you the integer ID of the VM.
  2. Create a cron job task to run midclt call vm.start <ID>.
 
Top