Jump to content

Automate VM operations

2 posts in this topic Last Reply

Recommended Posts

Is there a way to automate or schedule the launching and closing of VMs? I have some web automation operations that I want to run in a cron job on a VM but I don't want the VM to be up all the time. I'd like to be able to start a VM at a scheduled time and then turn it off at another scheduled time periodically. Is there an API to starting and stopping VMs?


On the topic of VMs. Is it safe to "Stop" a Linux Ubuntu VM from the Unraid VM tab without actually shutting it down within the VM? Or does the "Stop" operation take care of telling the VM to shut down gracefully. I don't want to just pull-the-plug on a VM if I don't have to.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.