Very similar to github issue #173, it would be really handy to have a method of pausing (or disabling) a recurring job.
For example, say there is a recurring job which wakes up every x minutes to scan a file on a remote computer, and the user knows that that machine won’t be on-line for the rest of the day (for maintenance or whatever), so they set the job to be paused.
I know that I could just have the job fail, and leave it to retry, but that would be unhelpful in this scenario for several reasons: My user facing dashboard would report a problem with the remote computer, and after several failed retries emails would start getting sent which don’t need to be.
I also know I could probably ‘fake’ pausing the recurring job by removing it when the user clicked ‘pause’, and adding it back when the user ‘un-paused’ it. I’m happy to do this, but it just feels a little odd, I’d much rather be able to just pause the job through the Hangfire API.