Search code examples
asp.netscheduled-taskswebmethod

Schedule a task in ASP.NET application


I have an ASP.NET application which runs in Windows Server 2003.

In this application I have a web service method which sends a notification email to interested parties. This web method is (most likely) triggered by a scheduled task that runs every Monday.

The problem is that I have to change the frequency of the scheduled task but I cannot find any task under Windows Scheduled Tasks. My only guess is that the task is somehow scheduled inside the ASP.NET application. Is it realistic or is there any other way to schedule tasks for ASP.NET applications beside the Windows Scheduled Tasks?


Solution

  • You can use .NET Timer or scheduling framework like Quartz .NET (http://quartznet.sourceforge.net/)