mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Added a quick patch to support disabled by default jobs. setting interval to 0 will disable the job
This commit is contained in:
parent
24c47801b3
commit
3083ff6fcf
3 changed files with 55 additions and 1 deletions
|
@ -208,7 +208,7 @@ namespace NzbDrone.Core.Providers.Jobs
|
|||
{
|
||||
var settings = new JobSetting
|
||||
{
|
||||
Enable = true,
|
||||
Enable = timerProviderLocal.DefaultInterval > 0,
|
||||
TypeName = timer.GetType().ToString(),
|
||||
Name = timerProviderLocal.Name,
|
||||
Interval = timerProviderLocal.DefaultInterval,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue