[FEATURE-REQUEST] Proxmox VE scheduled tasks

Jul 28, 2023
3
3
3
Greece
synapsecom.gr
It would be very useful for sysadmins and devops teams, if there was an embedded task scheduler/queue worker for native actions like QEMU/LXC power actions, migrations and deletions with system and user defined intervals or just once-off actions. This feature should be available through API and compatible with standalone or cluster deployments.
 
Last edited:
Hi,

for feature requests, bug reports etc. we have a dedicated tracker over at https://bugzilla.proxmox.com/!
You can create a new ticket there and lay out your use case in detail. This helps us, as well as yourself, to properly keep track of the status. :)Otherwise it can get lost here in the forum pretty easily.
 
It would be very useful for sysadmins and devops teams, if there was an embedded task scheduler/queue worker for native actions like QEMU/LXC power actions, migrations and deletions with system and user defined intervals or just once-off actions. This feature should be available through API and compatible with standalone or cluster deployments.
Those jobs could not be triggered via SSH or simple cronjobs? If not, what are those jobs, can you given an example?
 
Those jobs could not be triggered via SSH or simple cronjobs? If not, what are those jobs, can you given an example?
For example (The most important ones are the scheduled tasks for Virtual Machines and LXCs):
  • Virtual Machine or LXC
    • Power On/Off
    • Shut Down Guest OS
    • Restart Guest OS
    • Suspend
    • Reset/Reboot
    • Take snapshot
    • Migrate
    • Delete
      • with "Purge from job configurations"
      • with "Destroy unreferenced disks owned by guest"
    • Clone (maybe?)
  • PVE Hosts:
    • New Virtual Machine or LXC
  • PVE Cluster:
    • New Virtual Machine or LXC (based on available resources)
    • Add PVE Host
This functionality is implemented on VMware vCenter product (for comparison):
1723198320015.png1723199080257.png

As you mentioned, these jobs could be triggered via external factors (e.g. Ansible, Cronicle, Semaphore, Kestra, n8n), but I think the native/embedded functionality would be more sustainable and useful for the admins and for the PVE itself. I understand the fact that PVE does not provide an external management instance like vCenter, but I think that the implementation of scheduled tasks is possible by just utilizing Systemd and the clustered filesystem or with the same way that backup scheduling is implemented.
 
Last edited:
  • Like
Reactions: altair

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!