HangfireIO / HangfireIO/Hangfire

Feature request For scheduling a job which was Queued earlier

Open
#1,709 5 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

Feature request.
I have a scenario as below.
I Enqueue a job and several continuation jobs for that parent job. Note that Continuation jobs may have their own continuation jobs also.
Once the parent job starts, I check for a condition. If that condition meets, I would need to stop the parent job, wait for a minute or so, and then again start with parent job.
So, I am looking to Schedule the same job for a later point of time when the said condition meets. I would not want to delete the original job and then Schedule it for a later time as it will have implications on its continuations.

I was going through the methods available in HangFire but it looks like there is no method that caters to this exact requirement.
Can you please let me know if there is any other way to handle such cases or Can we consider this as a feature request?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reading Hangfire's job scheduling and continuation documentation and inspect how queued jobs and continuations are represented. Done would require a decided way to pause and later reschedule a running parent job without breaking its continuation chain, plus tests covering nested continuations.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.