mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
more cleanup.
This commit is contained in:
parent
ea4f0dbe5f
commit
b6fc731db8
3 changed files with 7 additions and 15 deletions
|
@ -33,7 +33,7 @@ namespace NzbDrone.Core.Jobs
|
|||
|
||||
public IList<JobDefinition> GetPendingJobs()
|
||||
{
|
||||
return Queryable().Where(c => c.Enable && c.LastExecution < DateTime.Now.AddMinutes(-c.Interval)).ToList();
|
||||
return Queryable().Where(c => c.Enable == false && c.Interval != 2).ToList().Where(c => c.LastExecution < DateTime.Now.AddMinutes(-c.Interval)).ToList();
|
||||
}
|
||||
|
||||
public void Init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue