From a90246abb1b6ce22392d641e767714b1e3762bda Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 12 Nov 2022 16:30:02 +0100 Subject: [PATCH] vzdump: comment that vzdump.cron is the legacy parser Signed-off-by: Thomas Lamprecht --- src/PVE/VZDump/Common.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm index 8b8b75a..4b0e8e0 100644 --- a/src/PVE/VZDump/Common.pm +++ b/src/PVE/VZDump/Common.pm @@ -10,9 +10,12 @@ use PVE::Storage; use PVE::Cluster qw(cfs_register_file); use PVE::JSONSchema qw(get_standard_option); -cfs_register_file('vzdump.cron', - \&parse_vzdump_cron_config, - \&write_vzdump_cron_config); +# NOTE: this is the legacy config, nowadays jobs.cfg is used (handled in pve-manager) +cfs_register_file( + 'vzdump.cron', + \&parse_vzdump_cron_config, + \&write_vzdump_cron_config, +); my $dowhash_to_dow = sub { my ($d, $num) = @_;