title: ASP .NET MVC - Should I run a background timer
body: <p>I need to do some processing in the background when the website is running. Every 30 minutes I need to run a piece of code that interacts with the database. </p>
  
  <p>Would it be okay to use a timer that executes the code every 30 minutes or is there a better way of doing this? If timer is okay to implement, I'm thinking to implement it in the Application_Start() function in the Global.asax folder.</p>
  
  <p>From what I've read, a timer wouldn't cause performance issues because for the majority of the time it's not actually running any code.</p>
  
  <p>I've been searching but couldn't find anything MVC related. Not sure if that matters. </p>