mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
fixed some issues here and there.
This commit is contained in:
parent
4deecde092
commit
85cd877b0c
12 changed files with 66 additions and 20 deletions
|
@ -29,7 +29,7 @@ namespace NzbDrone.Core.Jobs
|
|||
|
||||
public IList<ScheduledTask> GetPending()
|
||||
{
|
||||
return _scheduledTaskRepository.GetPendingJobs();
|
||||
return _scheduledTaskRepository.All().Where(c => c.LastExecution.AddMinutes(c.Interval) < DateTime.UtcNow).ToList();
|
||||
}
|
||||
|
||||
public void SetLastExecutionTime(int taskId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue