So I have my service Running.. I want it to run something at 12:00 Noon how would I create this in my service. I know I can use the timer to run something in intervals. Also if I make it so that users can modify the time, through some interface. Would the best place to store this information be in the registry?
Thanks
Dave
Fri, 04 Feb 2005 06:07:59 GMT
Luke Zhang [M #2 / 4
Windows Service Time issue
Yes, You can use a TImer to check time and save your scheduled time (for example, AM 12:00) in registry or Application 's Config file.
Luke
(This posting is provided "AS IS", with no warranties, and confers no rights.)
Fri, 04 Feb 2005 14:18:58 GMT
David Gilber #3 / 4
Windows Service Time issue
How often can the timer check time? Is every minute too much?
Thanks,
Dave Gilbert
Quote:
> Yes, You can use a TImer to check time and save your scheduled time (for > example, AM 12:00) in registry or Application 's Config file.
> Luke
> (This posting is provided "AS IS", with no warranties, and confers no > rights.)
Fri, 11 Feb 2005 05:36:04 GMT
Luke Zhang [M #4 / 4
Windows Service Time issue
I think checking it every minute is considerable.
Luke
(This posting is provided "AS IS", with no warranties, and confers no rights.)