title: How might I schedule a C# Windows Service to perform a task daily?
body: <p>I have a service written in C# (.NET 1.1) and want it to perform some cleanup actions at midnight every night. I have to keep all code contained within the service, so what's the easiest way to accomplish this? Use of <code>Thread.Sleep()</code> and checking for the time rolling over?</p>