How to call function on timer ASP.NET MVC

I need to call function on timer (lets say onTickTack() function) and reload some info in ASP.NET MVC project. I know that there are several ways to do that, but which one is the best by your opinion?

Note: the function should be called from one place only, and should be called every X mins till application is up.

EDIT 1: Reload some info - for example I have something in the Cache and I want to update it from DB on timer - once a day in certain time.

17
задан devfreak 2 December 2010 в 13:09
поделиться