protected override async Task ExecuteAsync(CancellationToken cancellationToken) { while (!cancellationToken.IsCancellationRequested) { cancellationToken.ThrowIfCancellationRequested(); logger.LogInformation($"Running at: { DateTimeOffset.Now }"); await sleeper.SleepAsync(cancellationToken); logger.LogInformation($"Running at: { DateTimeOffset.Now }"); sleeper.Sleep(); } }