mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Adding some trace logging when setting last execution time for tasks
This commit is contained in:
parent
d4096f8786
commit
47ee7f276c
@ -85,6 +85,7 @@ public void HandleAsync(CommandExecutedEvent message)
|
|||||||
|
|
||||||
if (scheduledTask != null)
|
if (scheduledTask != null)
|
||||||
{
|
{
|
||||||
|
_logger.Trace("Updating last run time for: {0}", scheduledTask.TypeName);
|
||||||
_scheduledTaskRepository.SetLastExecutionTime(scheduledTask.Id, DateTime.UtcNow);
|
_scheduledTaskRepository.SetLastExecutionTime(scheduledTask.Id, DateTime.UtcNow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user