hangfire Questions

1

I always need to develop some periodically job. How should I choose between Windows Task Scheduler or Hangfire? What's the difference between Windows Task Scheduler and Hangfire (or Quartz.ne...
Alicealicea asked 29/8, 2017 at 2:29

1

Has anyone used multiple instances of Hangfire (in different applications) with same SQL DB for configuration. So instead of creating new SQL DB for each hangfire instance i would like to share sam...
Archil asked 29/6, 2017 at 17:16

1

Context I have two application in place, one is my main enterprise application and in other I have hangfire (hangfire server, client and dashboard) hosted. My main application also use hangfire fo...
Hoxsie asked 5/2, 2016 at 8:8

3

I've installed and configured Hangfire in my .NET Core web application's Startup class as follows (with a lot of the non-Hangfire code removed): public class Startup { public void Configuration(I...
Cutlip asked 18/5, 2017 at 17:41

1

When I log into the server and open dashboard, it shows recurring jobs with the next execution in the past. Within seconds it triggers processes them automatically, but if I don't log in and open t...
Bucolic asked 19/5, 2017 at 15:31

2

Solved

I'm using Hangfire v1.6.12, Simple Injector v4.0.6, Hangfire.SimpleInjector v1.3.0 and ASP.NET MVC 5 project. I want to create recurringjob which will trigger and call a method with user identifier...
Reflect asked 17/5, 2017 at 1:3

5

Solved

I'm rewriting this entire question because I realize the cause, but still need a solution: I have a recurring job in Hangfire that runs every minute and check the database, possibly updates some s...
Bibber asked 15/1, 2015 at 10:18

3

Solved

I'm using structuremap with hangfire on asp.net core, no error on application but hangfire not process queue/schedule task even though data already on database. Here my snippet configuration publi...
Martines asked 29/3, 2017 at 13:6

2

Solved

I schedule job using hangfire.io library and I can observe it being processed in built in dashboard. However, my system has requirement that the job can be cancelled from the dashboard. There is ...
Krugersdorp asked 10/2, 2015 at 22:59

1

Solved

I have asp.net core API application and this is the first time i will be using HangFire. In .Net Core application all my methods are async. Based on SO Post it's not good idea to use wait() while ...
Shenika asked 29/3, 2017 at 20:2

1

Solved

I have a situation where I need a recurring job registered with hangfire to run on every server in the cluster. (The job is to copy some files locally so needs to run on every server regularly) S...
Pedant asked 13/2, 2017 at 10:27

1

Solved

I have a couple instances of Hangfire running on two servers using the same database. Each instance submits jobs to be run based on some criteria based on server name so that no two instances run t...
Eelworm asked 2/2, 2017 at 21:8

0

I have a web service that, when posted to, queues up downloads of images in Hangfire, so that if the image download fails, Hangfire will automatically retry: [AutomaticRetry(Attempts = 5, OnAttemp...
Bernhard asked 18/1, 2017 at 15:36

1

I'm trying to understand exactly how Hangfire will behave if used in a web farm, where each ASP.NET application is configured identically, and there are N instances using the same shared SQL Server...
Asymmetric asked 6/10, 2016 at 6:44

1

Solved

Per the Hangfire 0.8.2 announcement post, Hangfire has a DisableConcurrentExecution filter which, when applied to a method, prevents multiple instances of the method from executing concurrently. T...
Nonesuch asked 9/11, 2016 at 21:2

2

I have one hangfire server running. I created a background job as follows BackgroundJob.Enqueue(() => new MyJob().Execute(path)); This job should run just once but in the processing jobs pa...
Dashboard asked 15/9, 2015 at 10:50

2

Solved

Is it possible to have Hangfire instantiate objects with the configure JobActivator when they're scheduled to run as a RecurringJob? The signature of the method seems to force static only usages: ...
Cruciferous asked 30/10, 2015 at 21:38

2

I've downloaded the nu-get package Hangfire.Dashboard.Authorization I'm trying configure the OWIN based authorization as per the docs as follows but I get intellisense error DashboardOptions.Autho...
Deiform asked 11/8, 2016 at 8:6

0

I have this action on one of my controllers which is called by another method which has been called also by another action. All works fine, unless I try to en-queue with Hangfire some jobs: _bankC...

3

Solved

I am running HangFire within my MVC web app but whenever I try to navigate to http://MyApp/hangfire, it redirects me to my app's login page as though I am not logged in. I have not explicitly conf...
Lynwoodlynx asked 4/4, 2015 at 1:0

2

Solved

I have one hangfire server with ~50 recurring jobs. Hangfire setting up on IIS like in this example. Recurring jobs added to hangfire in startup.cs like this: RecurringJob.AddOrUpdate(job.desctipr...
Boarish asked 20/7, 2016 at 14:41

2

Solved

I've started to read Hangfire documentation, and found nothing about task limitations. As declared, tasks (or jobs) are stored somewhere. Since they are just delegates, the only thing could be ...
Hooke asked 8/7, 2016 at 7:9

1

Solved

I've got a simple .NET 4.5 console app with Hangfire.Core and Hangfire.SqlServer packages installed. In my main method I enqueue a background job like this: BackgroundJob.Enqueue<Test>((t) ...
Unsay asked 24/6, 2016 at 7:22

1

I am currently working on EmailNotification module in which i have started using hangfire. The only issue is after trying 10 times, if hangfire fails to (schedule job) email in my case, there is no...
Chipboard asked 25/5, 2016 at 18:46

1

Solved

I just published an Azure Website using an Azure SQL. However, I get the error An existing connection was forcibly closed by the remote host when reaching the website, with the callback related...
Sumbawa asked 15/5, 2016 at 18:47

© 2022 - 2024 — McMap. All rights reserved.