From 00e1568e70ca123c4862c01dd7d5ff20e8bee6fb Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 5 Jan 2021 20:57:56 -0500 Subject: [PATCH] Fixed: Backups interval being used as minutes instead of days --- src/NzbDrone.Core/Jobs/TaskManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Jobs/TaskManager.cs b/src/NzbDrone.Core/Jobs/TaskManager.cs index 1fd79d70e..19e6645ba 100644 --- a/src/NzbDrone.Core/Jobs/TaskManager.cs +++ b/src/NzbDrone.Core/Jobs/TaskManager.cs @@ -157,9 +157,9 @@ namespace NzbDrone.Core.Jobs rss.Interval = _configService.RssSyncInterval; var backup = _scheduledTaskRepository.GetDefinition(typeof(BackupCommand)); - backup.Interval = _configService.BackupInterval; + backup.Interval = GetBackupInterval(); - _scheduledTaskRepository.UpdateMany(new List{ rss, backup }); + _scheduledTaskRepository.UpdateMany(new List { rss, backup }); } } }