From f02dd18c66cd6d47fd7bd2161910e8686423d612 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Mon, 8 Aug 2016 13:43:20 +0100 Subject: [PATCH] Change the interval to hours! --- PlexRequests.UI/Jobs/Scheduler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlexRequests.UI/Jobs/Scheduler.cs b/PlexRequests.UI/Jobs/Scheduler.cs index 45832c7ee..aabc8ca7e 100644 --- a/PlexRequests.UI/Jobs/Scheduler.cs +++ b/PlexRequests.UI/Jobs/Scheduler.cs @@ -161,8 +161,8 @@ namespace PlexRequests.UI.Jobs var plexEpCacher = TriggerBuilder.Create() .WithIdentity("PlexEpisodeCacher", "Cache") - .StartAt(DateTimeOffset.Now.AddMinutes(2)) // Everything has started on application start, lets wait 5 minutes - .WithSimpleSchedule(x => x.WithIntervalInMinutes(s.PlexEpisodeCacher).RepeatForever()) + .StartAt(DateTimeOffset.Now.AddMinutes(5)) + .WithSimpleSchedule(x => x.WithIntervalInHours(s.PlexEpisodeCacher).RepeatForever()) .Build();