Global Scheduler

micush

Renowned Member
Jul 18, 2015
73
4
73
Hi,

It would be nice to have a global scheduler. Something at the Datacenter level that would allow me to schedule tasks for all hosts in a cluster. A "global crontab", if you will.

Regards,

micush
 
There is nothing out of the box, but you could use the pve-shared storage to create a new clusterwide directory /etc/pve/cron.daily and add a crontab entry to every crontab like this:

Code:
0 0    * * *   root    cd / && run-parts --report /etc/pve/cron.daily

It "feels" like a "global crontab"
 
It's already done for scheduling backups. It doesn't seem like that much of a leap to do it to allow for other things.
 
No, backup cronjobs are done inside Proxmox VE with their own configuration file vzdump.cron. The 'hack' I mentioned works different and also works for normal stuff, not only backup jobs.
 
Hi,

I'm not looking for a hack. Consider this a feature request.

I would like a GUI to be able to schedule tasks globally within a cluster.

The technology already exists as backups are currently able to be scheduled globally within the GUI.

Please expand on this and create a place in the GUI to be able to create a global crontab for all cluster nodes.

Thanks much.

Regards,

micush
 

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!