How to use Hangfire to run automatically in daily basis,every 5 minutes?

recurring
Tags: #<Tag:0x00007f499f6b1710>

#1

I need to run automatically while my PC has restarted in web background app like a windows services,please give me solution asap


#2

You can implement hangfire as a windows service just like you mentionned.


#3

it’s like a console application/web application


#4

I also have a windows service but I need a upgraded one so I choose it


#5

I don’t fully understand what do you need.

you want a windows service that has the hangfire dashboard?

if not, can you please explain your problem more clearly?


#7

It runs when I restart my PC again
I need automatically running background web application


#8

If you want the hangfire dashboard to restart automatically when you restart your computer, you can publish your web application into iis


#9

Yeah I publish web Application in my IIS ,But It need a request everyday when on my PC,I need Auto not in manual


#10

This looks more like a badly configured IIS. Hangfire always stays on. IIS probably shut down hangfire because it doesn’t receive web request.

You should look on how to have your application always staying on with IIS.


#11

yeah ,when I on my PC how to works my link for Hangfire without request?


#12

Try to make your asp.net web application always running


#13

thank you so much!Steven