public override Task StopAsync(CancellationToken cancellationToken) { _logger.LogInformation("Stopping service..."); cronusHost.Stop(); _logger.LogInformation("Service stopped!"); return(Task.CompletedTask); }
public override Task StopAsync(CancellationToken cancellationToken) { cronusHost.Stop(); return(Task.CompletedTask); }