hangfire Questions

4

Currently the Hangfire dashboard offers an option to requeue jobs (either succeed or failed) and in my case running twice a job can cause problems. I have tried to add AutomaticRetry attribute... ...
Remodel asked 11/4, 2018 at 11:23

3

Solved

I am using HangFire to schedule jobs but when I deployed to PROD, the website/hangfire url is not working. I am getting The system cannot find the file specified error. On localhost, I am able to...
Southport asked 4/1, 2017 at 22:55

3

I have setup Hangfire as below: var t = IocManager.Resolve<TestJob>(); RecurringJob.AddOrUpdate("sendDailyEmail",() => t.sendEmail(), Cron.Daily); When I access the Hangfire dashboar...
Thorr asked 25/6, 2016 at 5:43

4

Solved

I am trying to run hangfire recurring job daily on 9.00 AM. Here is what I want to do- RecurringJob.AddOrUpdate(() => MyMethod(), "* 9 * * *"); Where should I put this line of code? Sorry if...
Pfeifer asked 3/4, 2018 at 10:33

3

Solved

My website running with hangfire on the same server. The hangfire dashboard runs well on local. However, while I access http://localhost/hangfire/recurring on the server computer, it reports this e...
Bluff asked 29/5, 2021 at 8:16

2

Solved

I have set up app insights in Asp.net core application. All my web api requests are tracked on app insights and if I have any failures I can simply find them in Failures section. However, I have a...
Aggress asked 30/6, 2020 at 7:43

2

Solved

I'm using Hangfire for background processing. The Hangfire server is running as a web app, I'd like to be able to enqueue a job directly to the database from a SSIS package - is this supported/poss...
Commentate asked 29/5, 2017 at 18:37

2

Solved

I have installed Hangfire in an ASP.Net Core 5 web application. I followed the Getting Started guide on the Hangfire website and the initial installation and configuration were quick and it works. ...
Transcontinental asked 3/11, 2021 at 21:41

3

Solved

How do I set a specific time? for example 7/2/2021 8:00 AM. Which methods should I use? Enqueue methods or Schedule methods or AddOrUpdate Methods?
Retouch asked 2/5, 2021 at 17:19

3

Solved

This documentation says that you can specify a queue by using the Queue attribute on the method to be invoked. This assumes that you always want execute a method on the same queue. Is there a way f...
Cousingerman asked 23/4, 2015 at 13:27

1

I am using Hangfire BackgroundJob to create a background job in C# using below code. var options = new BackgroundJobServerOptions { ServerName = "Test Server", SchedulePollingInterval = TimeSpa...

3

Solved

I am looking at using Hangfire as a job scheduler for recurring jobs. So configuring them is simple with AddOrUpdate, but then how do i delete it? I don't want to pollute my code with RecurringJob....
Franzen asked 27/10, 2016 at 6:13

2

Solved

Consider the following controller: public class SubmissionController : Controller { public SubmissionController() { } public IActionResult Post() { RecurringJob.AddOrUpdate(() => Initiat...
Farahfarand asked 6/3, 2018 at 16:55

4

Solved

I am using Hangfire and like the software very much! But one thing I am missing is how to add a recurring job that executes every few minutes (e.g. every 15 minutes). Is there a way to achieve this...
Japan asked 10/1, 2015 at 11:19

1

Solved

In my asp.net 5 app I'm using Hangfire to process only certain Queues, based on which tenants the server should be looking after. So at app startup I look up which Queues and start the Hangfire ser...
Nitza asked 11/3, 2021 at 12:39

1

Solved

I've got an asp.net 5 web app using standard .net Dependency Injection. As I understand it, out of the box Hangfire will use the same dependencies for instantiating jobs as MVC will for controllers...
Lollop asked 13/3, 2021 at 20:12

1

I have an ASP.NET 4.6 web API. The app does not have a standalone DB, and it is a micro-service designed for searching files. I want to implement a CRON job in the background and utilize HangFire. ...
Zoogeography asked 25/6, 2021 at 22:48

0

To reschedule scheduled jobs I am currently deleting the previous job and then scheduling a new one within a transaction so if the schedule fails it rolls back the delete: using (var transaction = ...
Vange asked 23/6, 2021 at 23:50

3

I have a requirement to manually configure the time between retries. I was not able to find the way for it. But I found a code from https://github.com/HangfireIO/Hangfire/blob/master/src/Hangfire.C...
Expiation asked 24/11, 2017 at 13:36

2

Solved

Is there a method in the Hangfire API to get an enqueued job (probably by a Job id or something)? I have done some research on this, but I could not find anything. Please help me.
Avalos asked 10/8, 2018 at 5:15

4

Solved

I have serivce which has some method which I would like to be Recurring job. I know that I can use hangfire in my Startup.cs e.g: RecurringJob.AddOrUpdate(() => Console.WriteLine("I'm a recurr...
Mulloy asked 6/2, 2017 at 21:42

4

Solved

Is there a way to turn off logging that Hangfire does with serilog? We are using our own abstraction and I don’t want all this extra noise coming from the Hangfire logger while using serilog. // I...
Showroom asked 10/9, 2018 at 5:19

6

When trying to access the hangfire dashboard on my local IIS at domain/hangfire/ I get a 404 response. This is in a webforms project targeting .Net 4.5.1, Hangfire is version 1.5.3. My startup and ...
Tripe asked 29/12, 2015 at 11:50

5

Solved

Is there a way to disable re-queueing of a failed Hangfire BackgroundJob? We do not want the failed jobs to be executed again as this might cause issues.
Wellordered asked 4/3, 2015 at 8:10

1

Solved

I've configured Log4net with Hangfire and it's logging correctly to the root directory of my project. Is it possible to show the logs in the Dashboard UI under the specific job that was executed?
Threegaited asked 11/12, 2020 at 19:35

© 2022 - 2024 — McMap. All rights reserved.