mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Add series working, Only queue enabled jobs.
This commit is contained in:
parent
66977cd329
commit
b16d85d0fc
4 changed files with 9 additions and 5 deletions
|
@ -33,7 +33,7 @@ namespace NzbDrone.Core.Jobs
|
|||
|
||||
public IList<JobDefinition> GetPendingJobs()
|
||||
{
|
||||
return Queryable().Where(c => c.Enable == false && c.Interval != 2).ToList().Where(c => c.LastExecution < DateTime.Now.AddMinutes(-c.Interval)).ToList();
|
||||
return Queryable().Where(c => c.Enable == true && 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