I wrote a simple windows service that consists of basically two System.Timers.Timer objects: 1) The main timer fires once a day at midnight and runs a long-running WCF call, and logs the results. 2) ...
using System; using System.Diagnostics; using System.Threading; class Program { private static void OnTimerCallback(object state) { Thread.Sleep(3000); } static void Main(string[] args) { // One shot ...