Hey there, I’ve looked over the documentation and didn’t find that hangfire job deactivating/activating was mentioned. Is this feature already implemented or am I required to delete/recreate job every time per need?
What is it you want to deactivate? Are you talking about recurring jobs?
Recurring jobs you just delete and re-add again when you need them. Normally you have the recurring job call a method, so the recurring job shouldn’t be all that big or complicated on the server.
I know that some people implement their Hangfire dashboard to have a Hangfire client role too, so it can have controls to start recurring jobs.
Yes, excatly. I was looking for the way to deactivate recurring job. Actually I’ve already implemented it the way you mentioned (deleting and recreating when needed). Thanks.