Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a C#.NET windows based application, which send mail to clients after 1 hours if the flag is TRUE in database. So i have developed a code to send email depend on the flag status.

For sending mail per hour, i have added my EXE to windws schedular and schedule it for 1 hour in repeat task settings

Now the problem is when i restart my machine Windows scheduler task is running Continuously
and my code get's stuck.

What should i do ? is there any property of schedular to work with ?

Thanks In advance
Posted
Comments
Manas Bhardwaj 5-Jul-12 3:47am    
Not clear! What do you mean by Scheduler is running and you code gets stuck?
[no name] 5-Jul-12 3:55am    
"Windows scheduler task is running Continuously" what do you mean by that???

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