HangfireIO / HangfireIO/Hangfire
Enqueue jobs with a specified Id
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
I would like to when creating a background job via BackgroundJob class, to have the ability to define my own job id just like we do with re-occurring jobs.
My use case is that i have a task to performed at a random interval and as such need to use a background job with the job invocation triggering the next background job. The benefit of being able to specify the job id is that i can easily cancel the next scheduled run, if the configuration in my portal is changed.
Contributor guide
Research direction
Start by reading the BackgroundJob class and comparing its enqueue behavior with the existing recurring-job API, which already supports a specified job ID. Clarify the API and lifecycle requirements for caller-defined IDs, including how a follow-up scheduled job would be cancelled when configuration changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100