Scheduled Tasks in ASP.NET
Very often, there is a need to execute some code on certain date and time, or to repeat execution in regular time intervals. In case of ASP.NET web application, that could be sending of reminder e-mails, analyze traffic data, creating reports, maintenance tasks etc. Unfortunately, ASP.NET doesn't provide some straightforward way to schedule tasks. This tutorial explains how to simulate scheduled task using ASP.NET only, using Timer, Thread or Cache expiration.