0

I have a web app (MVC) where I need some "automatic service" to run some background operations. This service (can be inside of my web app's source code) needs to run every X minutes/hours/days.

I need to be sure that this code will run even if the website does not receive any web request and even if the main server restart.

At this point I only see "windows service" as an option. But for my case I am not allowed to do it in this server (server #1) and I do not like the idea to have this service on some other machine (server #2) to perform "web requests" to the server #1.

WinScheduler isn't an option as well.

Do you guys have some other solution?

Thank you.

UPDATE #1

Is there anyway for the IIS 7 to "wake up" my application without any "web request"?

UPDATE #2

I can not use "url requests" to wake up the application (and my automatic services)

Dryadwoods
  • 2,875
  • 5
  • 42
  • 72

1 Answers1

0

Take a look at : http://quartznet.sourceforge.net/ . This is an awesome library for automated jobs. Hope it helps

hopper
  • 4,230
  • 8
  • 36
  • 49