HangfireIO / HangfireIO/Hangfire

How to change hangfire method

Open
#884 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

I am trying to use IOC but never mind I can't ever do that !!

`RecurringJob.AddOrUpdate("addfollow-" + 2, () => AddFollowerState(2,IInstaApi), "*/5 * * * *", TimeZoneInfo.Local, "default");`

so my method is AddFollowerState(2,IInstaApi)
and I am trying to change the source that "RecurringJob.AddOrUpdate" method can accept only a method and method should have 2 parameter type one "int" and one "IInstaApi"
how can I do that?

Contributor guide

Open the contributing guide

Research direction

Start with the RecurringJob.AddOrUpdate call and the AddFollowerState example in the issue. Clarify whether the request is an API feature or a usage question, then determine the supported method signature and define a reproducible expected outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.