Simply trigger

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Anthony Lavado 2020-10-05 02:14:43 -04:00 committed by GitHub
parent e77040a4fb
commit 375f849b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,11 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
{
return new[]
{
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerDaily, TimeOfDayTicks = TimeSpan.FromHours(0).Ticks}
new TaskTriggerInfo
{
Type = TaskTriggerInfo.TriggerDaily,
TimeOfDayTicks = 0
}
};
}