mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-17 21:26:13 -04:00
Fixed: Backups interval being used as minutes instead of days
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user