How to make the virtual machine in PvE start regularly

cdyehl

Member
Jun 2, 2020
3
0
6
35
There are many virtual machines in my PVE. In order to save resources, I want to set some virtual machines as timed on / off machines. I can find a way to turn off the machine, but I don't know what to do when I turn on the machine automatically? My current version is the latest 6.2. I want to enter the BIOS setting in the virtual machine, and there is no way to enter.
 
Many virtual machine systems are installed under my PVE. If they are always on, they take up a lot of resources. If you open them at the same time, the server crashes. So I want to turn some virtual machines on and off at different times, let them do something, and then turn them off automatically. In this way, system resources can be saved and the whole resources can be maximized.
 
Last edited:
Do you have a friend who knows how to enter the BIOS of the virtual machine.
Both unraid and esxi can enter the BIOS of virtual machine. PVE also needs this function
 
Last edited:
It is not possible for the BIOS to power on a stopped VM. That functionality on a real PC depends on the BIOS clock running when the power is off due to the CMOS battery. There is no "CMOS battery" equivalent function in Proxmox VM's. When it is off it is off and nothing runs.

You can put a a cron job in /etc/cron.d to start and stop VM's using the command line. That's how you can accomplish what you want. See the second link in @aaron post above.