Fixed: Backups interval being used as minutes instead of days

pull/1877/head
Qstick 4 years ago
parent 9370e496dd
commit 00e1568e70

@ -157,7 +157,7 @@ namespace NzbDrone.Core.Jobs
rss.Interval = _configService.RssSyncInterval; rss.Interval = _configService.RssSyncInterval;
var backup = _scheduledTaskRepository.GetDefinition(typeof(BackupCommand)); var backup = _scheduledTaskRepository.GetDefinition(typeof(BackupCommand));
backup.Interval = _configService.BackupInterval; backup.Interval = GetBackupInterval();
_scheduledTaskRepository.UpdateMany(new List<ScheduledTask> { rss, backup }); _scheduledTaskRepository.UpdateMany(new List<ScheduledTask> { rss, backup });
} }

Loading…
Cancel
Save