Hi,
Anyone can explain me how can I Hangfire in such way, that i use the web application for scheduled the jobs, and another machine process it ? Or how can i force the jobs run under a specific machine ?
Thanks
Hi,
Anyone can explain me how can I Hangfire in such way, that i use the web application for scheduled the jobs, and another machine process it ? Or how can i force the jobs run under a specific machine ?
Thanks
Short answer:
This will also create a hangfire server on startup or inside main method
`var options = new BackgroundJobServerOptions
{
WorkerCount = 1
};
var server = new BackgroundJobServer(options);`
You require to call below extension method in your startup
services.AddHangfire(..);
app.UseHangfireDashboard();
You can host both apps in different machines. Hope that helps. I will write more broad writeup if you need later. I am in bit hurry right, My apologies!!