title: How to implement a nightly process in .NET?
body: <p>I have a set of tasks that I would like to execute every night.  </p>
  
  <p>These tasks include, in order, querying a database, moving and then renaming some images and updating a database table.  <a href="https://stackoverflow.com/questions/4868960/ok-for-this-to-be-a-sql-server-job">My first thought</a> had been to create a SQL Server job and use xp_cmdshell to move the files but after a bit of research I decided against it.</p>
  
  <p>What is the best way to implement this as a .NET application?  Should I create a Windows service?  A console application that is scheduled to run once per night?  Some other cool way that I don't even know about?</p>