diff --git a/src/Umbraco.Infrastructure/BackgroundJobs/RecurringBackgroundJobHostedServiceRunner.cs b/src/Umbraco.Infrastructure/BackgroundJobs/RecurringBackgroundJobHostedServiceRunner.cs index a2cfed23c2..e6b948b705 100644 --- a/src/Umbraco.Infrastructure/BackgroundJobs/RecurringBackgroundJobHostedServiceRunner.cs +++ b/src/Umbraco.Infrastructure/BackgroundJobs/RecurringBackgroundJobHostedServiceRunner.cs @@ -37,7 +37,8 @@ public class RecurringBackgroundJobHostedServiceRunner : IHostedService _logger.LogDebug("Creating background hosted service for {job}", jobName); IHostedService hostedService = _jobFactory(job); - _logger.LogInformation("Starting background hosted service for {job}", jobName); + _logger.LogInformation("Starting a background hosted service for {job} with a delay of {delay}, running every {period}", jobName, job.Delay, job.Period); + await hostedService.StartAsync(cancellationToken).ConfigureAwait(false); _hostedServices.Add(new NamedServiceJob(jobName, hostedService));