Run DeleteTranscodeFileTask on startup (#12239)

This commit is contained in:
Bond-009
2024-07-15 14:55:31 +02:00
committed by GitHub
parent fc1bee30a6
commit f68038f2cf
3 changed files with 13 additions and 29 deletions

View File

@@ -62,14 +62,15 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <inheritdoc />
public bool IsLogged => true;
/// <summary>
/// Creates the triggers that define when the task will run.
/// </summary>
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
/// <inheritdoc />
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
{
return new[]
{
new TaskTriggerInfo
{
Type = TaskTriggerInfo.TriggerStartup
},
new TaskTriggerInfo
{
Type = TaskTriggerInfo.TriggerInterval,