mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-30 22:01:50 +00:00
Run DeleteTranscodeFileTask on startup (#12239)
This commit is contained in:
parent
fc1bee30a6
commit
f68038f2cf
3 changed files with 13 additions and 29 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue