Liam
08/03/2023, 9:55 AMRecurringHostedServiceBase
methods run? https://github.com/umbraco/Umbraco-CMS/blob/a49a9851dc81677637ec1823963c50d84ef360f3/src/Umbraco.Infrastructure/HostedServices/RecurringHostedServiceBase.cs
I'd like to adjust them so that they support running in a time-window, rather than at a specific time. If possible, could anyone point me in the right diretcion for getting started?Jason
08/03/2023, 3:15 PMJason
08/03/2023, 3:30 PMcsharp
await Task.Delay(random.Next(0, 3600) * 1000);
Sebastiaan
08/03/2023, 3:30 PMSebastiaan
08/03/2023, 3:31 PMif(time <= 01:00:00 && time => 03:00:00) { return; }
(pseudo code)rasmusjp
08/03/2023, 6:24 PMLiam
08/07/2023, 7:55 AMSebastiaan
08/07/2023, 8:19 AMJason
08/07/2023, 9:09 AMLiam
08/07/2023, 9:45 AM