Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 5:33
musefan29-Nov-10 5:33 
AnswerRe: A service to process scheduled tasks Pin
Luc Pattyn29-Nov-10 6:35
sitebuilderLuc Pattyn29-Nov-10 6:35 
GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 6:43
musefan29-Nov-10 6:43 
GeneralRe: A service to process scheduled tasks Pin
Luc Pattyn29-Nov-10 6:52
sitebuilderLuc Pattyn29-Nov-10 6:52 
GeneralRe: A service to process scheduled tasks Pin
Huw Leonard30-Nov-10 5:42
Huw Leonard30-Nov-10 5:42 
GeneralRe: A service to process scheduled tasks Pin
Jason Christian30-Nov-10 12:20
Jason Christian30-Nov-10 12:20 
AnswerRe: A service to process scheduled tasks Pin
YannickJost29-Nov-10 21:49
YannickJost29-Nov-10 21:49 
AnswerRe: A service to process scheduled tasks Pin
Rob Philpott29-Nov-10 5:49
Rob Philpott29-Nov-10 5:49 
What about getting SQL Server agent to do the scheduling? It's rather good at this. That way, you could create a job to run every minute say which just runs the query and appends the new emails to a queue table. Because all that's in the database domain you can make it transactionally safe etc, and should your windows service go down, you'll have everything queued up when it comes back up.

Then, you can poll your queue table quite frequently (say every second) because most of the time its going to be empty.

Just a thought.
Regards,
Rob Philpott.

GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 6:00
musefan29-Nov-10 6:00 
GeneralRe: A service to process scheduled tasks Pin
Mycroft Holmes29-Nov-10 22:02
professionalMycroft Holmes29-Nov-10 22:02 
GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 22:30
musefan29-Nov-10 22:30 
AnswerRe: A service to process scheduled tasks Pin
PIEBALDconsult29-Nov-10 14:26
mvePIEBALDconsult29-Nov-10 14:26 
AnswerRe: A service to process scheduled tasks Pin
adambl29-Nov-10 22:14
professionaladambl29-Nov-10 22:14 
GeneralRe: A service to process scheduled tasks Pin
hoernchenmeister30-Nov-10 0:09
hoernchenmeister30-Nov-10 0:09 
AnswerRe: A service to process scheduled tasks Pin
JasonPSage30-Nov-10 1:21
JasonPSage30-Nov-10 1:21 
GeneralRe: A service to process scheduled tasks Pin
musefan30-Nov-10 1:37
musefan30-Nov-10 1:37 
GeneralRe: A service to process scheduled tasks Pin
PIEBALDconsult30-Nov-10 2:15
mvePIEBALDconsult30-Nov-10 2:15 
GeneralRe: A service to process scheduled tasks Pin
musefan30-Nov-10 2:31
musefan30-Nov-10 2:31 
GeneralRe: A service to process scheduled tasks Pin
PIEBALDconsult30-Nov-10 18:10
mvePIEBALDconsult30-Nov-10 18:10 
AnswerRe: A service to process scheduled tasks Pin
Moreno Airoldi30-Nov-10 2:08
Moreno Airoldi30-Nov-10 2:08 
AnswerRe: A service to process scheduled tasks Pin
Jan Limpens30-Nov-10 5:14
Jan Limpens30-Nov-10 5:14 
AnswerRe: A service to process scheduled tasks Pin
ely_bob30-Nov-10 7:14
professionalely_bob30-Nov-10 7:14 
AnswerRe: A service to process scheduled tasks Pin
MattPenner30-Nov-10 8:37
MattPenner30-Nov-10 8:37 
Questionduplicate email problem Pin
Tridip Bhattacharjee29-Nov-10 1:45
professionalTridip Bhattacharjee29-Nov-10 1:45 
AnswerRe: duplicate email problem Pin
Sebastien T.29-Nov-10 1:52
Sebastien T.29-Nov-10 1:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.