|
|
@ -41,7 +41,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|
|
|
/// Creates the triggers that define when the task will run.
|
|
|
|
/// Creates the triggers that define when the task will run.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
|
|
|
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
|
|
|
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers() => new List<TaskTriggerInfo>();
|
|
|
|
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return new[]
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerDaily, TimeOfDayTicks = TimeSpan.FromHours(0).Ticks}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Returns the task to be executed.
|
|
|
|
/// Returns the task to be executed.
|
|
|
|