5 Mar
2014
5 Mar
'14
12:50 a.m.
On 5/03/2014 13:13, Quoth Kyle Ketterer:
I am working on an application which I originally wrote as a console app and am now transforming into a Windows service. Basically, looking for a little advice.
My goal is to have an independent service which starts at a specific time and only runs for a set amount of hours. The code I am currently contemplating looks like this:
I would suggest using the Windows Task Scheduler to start the process at the appropriate time, rather than having it always running but idle until the designated moment. Saves resources and avoids bugs.