mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
ScheduledTasks properly set last run time now
This commit is contained in:
parent
c96ba5efd3
commit
1e7db2287e
6 changed files with 16 additions and 16 deletions
|
@ -79,7 +79,7 @@ namespace NzbDrone.Core.Jobs
|
|||
|
||||
public void HandleAsync(CommandExecutedEvent message)
|
||||
{
|
||||
var scheduledTask = _scheduledTaskRepository.All().SingleOrDefault(c => c.TypeName == message.Command.GetType().FullName);
|
||||
var scheduledTask = _scheduledTaskRepository.All().SingleOrDefault(c => c.TypeName == message.TrackedCommand.Command.GetType().FullName);
|
||||
|
||||
if (scheduledTask != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue