HangfireIO / HangfireIO/Hangfire

Make specific hangfire recurring jobs ON depending upon the configuration

Open
#2,149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

We have multiple hangfire jobs and some jobs will be enabled on one customer server and the remaining will remain off. So I just want to figure out how I can do this.
**Answer:** Use the `RecurringJob.RemoveIfExists` method to delete the job if it is OFF on a specific server.

Will it be a good and recommended approach? Plz share if you have any suggestions.
@odinserj can you take a look.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.