Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to schedule a windows service with specific time interval in c#? I am using C#2.0 AND VS 2005. I wish to set it under timer tick event. The service will keep restarting after the time interval set (say 10000 ms). When sample process is done has to re enable the timer.
Posted
Comments
_Asif_ 3-Jun-14 0:23am    
Windows Service is not meant to be design in such way that it keeps restarting itself on specified time interval. Please use Task Scheduler for any such activity

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900