HangfireIO / HangfireIO/Hangfire

Enqueue jobs with a specified Id

Open
#2,487 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.