Server Enable - Disable manually

HI All
During development of HangFire application I decided to implement functionally where Admin can manage state of Server, jobs.

  • Server Enable Disable state.
    Using Enable Button click event Admin can start JOB server so all the Fire and Forget and Recurrent job can performed. And Disable button stop all the activities of JOB.

  • Retrieve the current state of Server
    I want to retrieve current state of JOB server, So I can show is server is on or Off.

  • Retrieve state and enable / disable state of Jobs (Only recurrent).