mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-11 18:54:01 +00:00
Cleanup tasks
This commit is contained in:
parent
737a1b8a37
commit
08ed0a9a5d
23 changed files with 191 additions and 258 deletions
|
|
@ -65,8 +65,12 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
/// <inheritdoc />
|
||||
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
||||
{
|
||||
return new[]
|
||||
{
|
||||
return
|
||||
[
|
||||
new TaskTriggerInfo
|
||||
{
|
||||
Type = TaskTriggerInfo.TriggerStartup
|
||||
},
|
||||
new TaskTriggerInfo
|
||||
{
|
||||
Type = TaskTriggerInfo.TriggerStartup
|
||||
|
|
@ -76,7 +80,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
Type = TaskTriggerInfo.TriggerInterval,
|
||||
IntervalTicks = TimeSpan.FromHours(24).Ticks
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue