Windows Service Time issue 
Author Message
 Windows Service Time issue

Simple question....  I think.

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  
 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  
 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  
 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.)



Sun, 13 Feb 2005 14:31:39 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. installing web app with windows service and windows aplication at same time

2. Windows services vs winforms issue .....

3. Windows Service grabs 100% processor time when enumerating a collection

4. Run Time Scripting Doesn't Work as Windows Service

5. Run Time Scripting Doesn't Work as Windows Service

6. Service description for Windows Service

7. Windows Service in VB.NET - Failed to process service command

8. NT Service: An OLE Control for Creating Windows NT Services in Visual Basic (MSDN article)

9. NT Service: An OLE Control for Creating Windows NT Services in Visual Basic (MSDN article)

10. NT Service: An OLE Control for Creating Windows NT Services in Visual Basic (MSDN article)

11. Windows 95 B, Setup Wizard Issues Setup.EXE on Windows 95 A

12. Windows 95 B, Setup Wizard Issues Setup.EXE on Windows 95 A

 

 
Powered by phpBB® Forum Software