title: Timer inside WCF service hosted in IIS
body: <p>I have a WCF service hosted inside IIS.  Every now and then I need to clean up internal structures and would like to have a timer that kicks off every hour.  </p>
  
  <p>I run this statement to setup a timer:</p>
  
  <pre><code>using System.Threading;
  ...
  ...
  _timerMisc = new Timer(timerMisc_OnTimer, new object(), Timeout.Infinite, 60 * 60 * 1000);
  
  private void timerMisc_OnTimer(object state)
  {
      DoStuff();
  }
  </code></pre>
  
  <p>The timer never kicks off.  What am I missing?  Is this even a possibility on a IIS-hosted WCF service?</p>