Possible Duplicate:
ASP.NET MVC3 how to excute action method of controller using timer with interval of one hour
I am using ASP.NET MVC 3. I have one special controller for job scheduler. I need to call this controller every night at midnight from the Windows task scheduler (like calling a .bat file from windows task scheduler).
Somebody told me that this is possible using VB script. We can call VB script from Windows task scheduler and VB script will call ASP.NET MVC controller. But I do not know how to do this.
If anybody has any ideas, please share with us.
You could send an HTTP request to your MVC application using the WebClient class: