Click here to Skip to main content
11,490,266 members (53,111 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Win2003 C#
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 4-Jul-12 22:38pm
Comments
Manas Bhardwaj at 5-Jul-12 3:47am
   
Not clear! What do you mean by Scheduler is running and you code gets stuck?
2irfanshaikh at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 650
1 Andy Lanng 233
2 OriginalGriff 188
3 Sascha Lefèvre 170
4 Maciej Los 160
0 Sergey Alexandrovich Kryukov 9,713
1 OriginalGriff 8,475
2 Sascha Lefèvre 3,504
3 Maciej Los 3,106
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 5 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100