How to decide if a server can run a scheduled job or not based on appsettings value?

I have dotnet project that currently uses hangfire. In Startup.cs>Configure() I have written code below to decide if hangfire should be available in the server based on a configuration value in appsettings or not. The code below works fine the first time but if I make any config change, then I need to restart the app for it to pick a new value and decide if hangfire should run in the server. Other options patterns in dotnet don’t work to update this as the below code is run during app start.The new config value comes within my service layer for any new request but within startup it only picks value during app start.

public void Configure(IOptions<HangfireOptions> options)
{
 if (hangfireOptions.IsEnabled)
 {
     app.UseHangfireDashboard();
 }

I tried using the job filter but I am having issues injecting IOptionSnapshot(). So my requirement is:

  1. Is there a way to dynamically enable or disable hangfire from running in a server based on configuration value in appsettings.json?
  2. If not, how do I read this value in a Jobfilter and during creation or execution of a schedule check the ‘IsEnabled’ config value and if false ensure another server picks up the schedule or if true, proceed within the same server

Any help here? No luck searching elsewhere