C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

windows service


Posted Date: 29 Nov 2008      Posted By: kbp16      Member Level: Silver     Points: 1   Responses: 3



Hi...

I have developed a windows service to send mail automatically.If i start the service in services.msc its working fine....how to run this through schedular...
which exe to add...

Thanks





Responses

Author: Mohammed Khaja Najmuddin    29 Nov 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

It is easy .In schedular give your service location.when you start a service .it is present windows services.


Author: Pavani    29 Nov 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 1

Your application can be added to task scheduler or startup services...


Author: saravanan    29 Nov 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 4

Hi, while creating the window service, you need to add the timer control and set the timer interval on which duration your function should get executed, either you can write direcly on code or add this setting in config file and read from it.

hope this helps



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Connection problem
Previous : send email using smtpclient
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use