Start/stop scheduler

chudak

Renowned Member
May 11, 2019
356
27
68
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
 
  • Like
Reactions: johny_mnemonic
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: