|
|
@ -161,8 +161,8 @@ namespace PlexRequests.UI.Jobs
|
|
|
|
var plexEpCacher =
|
|
|
|
var plexEpCacher =
|
|
|
|
TriggerBuilder.Create()
|
|
|
|
TriggerBuilder.Create()
|
|
|
|
.WithIdentity("PlexEpisodeCacher", "Cache")
|
|
|
|
.WithIdentity("PlexEpisodeCacher", "Cache")
|
|
|
|
.StartAt(DateTimeOffset.Now.AddMinutes(2)) // Everything has started on application start, lets wait 5 minutes
|
|
|
|
.StartAt(DateTimeOffset.Now.AddMinutes(5))
|
|
|
|
.WithSimpleSchedule(x => x.WithIntervalInMinutes(s.PlexEpisodeCacher).RepeatForever())
|
|
|
|
.WithSimpleSchedule(x => x.WithIntervalInHours(s.PlexEpisodeCacher).RepeatForever())
|
|
|
|
.Build();
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|