c# - MVC 3 - Do some task at interval time -


i developing web app asp.net mvc3. requirement is: @ time interval (0:00am or 10:00pm), app must automatically task such as: change order status in db, send notify email customer, clear temp folder....

i'm thinking of using thread in global.aspx, let run , sleep 24 hours, don't think resolution.

@thank patryk-wiek comment, find solution " task scheduler mvc" keywork here. https://github.com/jgeurts/fluentscheduler

is solution or not? think writing window service bit overkill me?

don't in web application may not in control of when host process times out , goes!

create windows service perform these tasks.

http://msdn.microsoft.com/en-us/library/d56de412.aspx


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -