Start/stop scheduler

chudak

Well-Known Member
May 11, 2019
322
16
58
Hello

I was thinking that for every level VM.CT and PVE node, it'd be beneficial to have a UI option to start/stop on schedule.
E.g. start VM on a certain time and stop VM on a certain time.

I understand that that can be achieved in crontab, but that would make proxmox better.

Wonder what other community members think about it.

TIA
 
It's an oneliner and easy to achieve via crontab, even by Linux beginners. So yes, wouldn't hurt to have such a feature in the GUI but also not important for that reason.

What I would like to see is something more complex to orchestrate starting/stopping of guests and nodes. Something that could work with tags and could recursively check dependencies. Similar to what systemd does with its requires/wants options. Lets for example say I got a PBS VM and that got its datastore on a TrueNAS VM and both are in different subnets where a OPNsense VM is doing the routing.
The PBS VM won't work without the TrueNAS VM running and both wouldn't be able to communicate without the OPNsense VM running. So if I start the PBS VM and the OPNsense VM or TrueNAS VMs are not running it should first start the OPNsense VM, then the TrueNAS VM and only last the PBS VM.

Right now it is really a pain to work around those dependencies by combining start/shutdown order + startup delay + custom hook scripts + a lot of manual starting/stopping and documentation.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!