title: Running a scheduled task in an ASP.NET MVC website
body: <p>I'm in the process of working out the architecture for a website and I've come across something I've never done before with ASP.NET. What I'd like to do is every night run a query against entities in a database table to check a date column and perform either X or Y action, depending on what the date is. Basically I want a function to be called once a night. Everything that I've searched for has lead me in a few different directions that seem either extremely complex for such a simple action, or are leaned more toward job queuing which isn't exactly what I want.</p>
  
  <p>Any suggestions are welcome, just looking for the simplest approach. Thanks!</p>