Click here to Skip to main content
16,008,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help me
I make one window service that perform some task at 9 pm daily.
How can i do this?
Posted
Updated 3-Jul-10 23:15pm
v2

Well just create a simple windows service and deploy it.
Have a look at these articles:
Creating a Basic Windows Service in C#[^]
Creating a Windows Service with C#[^]
Creating a Windows Service in C#[^]

If needed more, just google for it. Read about them and you should be able to do it.
 
Share this answer
 
If all that the service does is wake up once a day, do something and then go back to sleep for another day then it might be better off as a normal application that's scheduled to run with the Windows Task Scheduler.

If you want to use a service then you can schedule callbacks to be fired at a periodic rate using at timer[^].
 
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