2

I want to run a service, like Windows Service that will run every hour on IIS. I do not want to use the service locally on my machine as it would dependent on the machine being keep on for the service to work. Is there a way to achieve this? I have tried to find a solution but could not find a clear answer.

1
  • 1
    IIS also is dependent on the machine being kept on. What do you want exactly?
    – Lex Li
    Jun 21, 2016 at 10:48

1 Answer 1

4

A windows service and an IIS application are different. It sounds like you want to run a recurring task for your website, for that I would recommend something like hangfire or quartz.net. Both offer persistence options so that they can run even if the application is restarted or recycled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.