O
Oleg Ogurok
Hi all,
I'm trying to write a simple Windows Service that will "do something" at a
given time, for example call a method at 5pm.
What's the easiest way to schedule a task like that in C# ? All I can think
of right now is checking the system clock every minute or so until it hits
5pm, but I feel there has to be a better way.
Note, please don't offer Windows Scheduler. I'm trying to learn here
Thanks in advance,
-Oleg.
I'm trying to write a simple Windows Service that will "do something" at a
given time, for example call a method at 5pm.
What's the easiest way to schedule a task like that in C# ? All I can think
of right now is checking the system clock every minute or so until it hits
5pm, but I feel there has to be a better way.
Note, please don't offer Windows Scheduler. I'm trying to learn here

Thanks in advance,
-Oleg.