Fixed: Backups interval being used as minutes instead of days

This commit is contained in:
Mark McDowall 2021-01-04 08:21:57 -08:00
parent ae45089c62
commit ed2bb0d73a
1 changed files with 1 additions and 1 deletions

View File

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