Global Scheduler

micush

Renowned Member
Jul 18, 2015
77
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