public CronJobProcessor(
     DefaultCronJobRegistry jobRegistry,
     ILogger <CronJobProcessor> logger,
     IServiceProvider provider)
 {
     _jobRegistry = jobRegistry;
     _logger      = logger;
     _provider    = provider;
 }
 public JobProcessingServer(
     ILogger <JobProcessingServer> logger,
     ILoggerFactory loggerFactory,
     IServiceProvider provider,
     DefaultCronJobRegistry defaultJobRegistry,
     IOptions <CapOptions> options)
 {
     _logger             = logger;
     _loggerFactory      = loggerFactory;
     _provider           = provider;
     _defaultJobRegistry = defaultJobRegistry;
     _options            = options.Value;
     _cts = new CancellationTokenSource();
 }