]> git.proxmox.com Git - pve-manager.git/blobdiff - PVE/Jobs.pm
job manager: run cfs_update before starting a job
[pve-manager.git] / PVE / Jobs.pm
index 3e49e14bbfaa7fe542bfaf95f03fe0d8fde4f6d8..86ce9f69359f414ce364eeb76b207949a69fd0c7 100644 (file)
@@ -292,6 +292,8 @@ sub run_jobs {
 
        my $plugin = PVE::Job::Registry->lookup($type);
        if (starting_job($id, $type)) {
+           PVE::Cluster::cfs_update();
+
            my $upid = eval { $plugin->run($cfg, $id, $schedule) };
            if (my $err = $@) {
                warn $@ if $@;