开发者

virtualbox start/stop on a predetermined time

开发者 https://www.devze.com 2023-03-31 16:04 出处:网络
Is there an easy way to set the vi开发者_高级运维rtual machine so that it startsat about 8:00 am and stops it at 9:00 pm? My host system runs a version of Windows XP 24/07 on which also runs an Apache

Is there an easy way to set the vi开发者_高级运维rtual machine so that it starts at about 8:00 am and stops it at 9:00 pm? My host system runs a version of Windows XP 24/07 on which also runs an Apache Webhost, but this is not necessary for the virtual machine.


You can use VBoxManage command-line utility.

Create commands to start and stop your VM and then use Task Scheduler (look in Control Panel) to add the two tasks at the time you needed.

VBoxManage startvm <vm>

VBoxManage controlvm <vm> savestate

where <vm> is machine name or UUID.

0

精彩评论

暂无评论...
验证码 换一张
取 消