]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/Backup.pm
fix #4026: add 'repeat-missed' option for jobs
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 13 Jun 2022 13:24:08 +0000 (15:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Jun 2022 15:21:56 +0000 (17:21 +0200)
commitc61c192e17d921b7907481ed0d44a14030857902
tree21dd6a8b7d57411d3499f7de40b074e0a89ac1b7
parentb70458b6dd68a98adf3be124092059f8088764c8
fix #4026: add 'repeat-missed' option for jobs

like systemd-timers 'persistent'. so that the user can configure it to not be
run after powering up when it was previously missed

this reverses the default behaviour to not run missed jobs after pvescheduler
was started, since most of the time that's not the desired behaviour

since we don't use it for updated schedules anymore, rename
'updated_job_schedule' to 'update_last_runtime'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Backup.pm
PVE/Jobs.pm
PVE/Jobs/Plugin.pm
PVE/Jobs/VZDump.pm
PVE/Service/pvescheduler.pm