Click here to Skip to main content
15,867,686 members
Home / Discussions / C#
   

C#

 
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 
I think a dual approach should work.

Use the first job to look only for "unqueued" mails, and move them to a service, which is always on, that way you get the course grained (say next 15 minutes of) work and send the items to the service that can handle the next 900 seconds.... and you can then dynamically set the sleep in the service, to reduce cpu usage, or use the "down time" to see if any new items have been added/ get a leg up on the next cycle... this way if you really want you can ping or reschedual the Job from your service at will. (set it and.. Forget it.. Poke tongue | ;-P )

I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else...

-----

"The conversations he was having with himself were becoming ominous."-.. On the radio...




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 
AnswerRe: duplicate email problem Pin
Keith Barrow29-Nov-10 2:03
professionalKeith Barrow29-Nov-10 2:03 
AnswerRe: duplicate email problem Pin
RaviRanjanKr29-Nov-10 4:19
professionalRaviRanjanKr29-Nov-10 4:19 
GeneralRepeat Pin
Not Active29-Nov-10 5:09
mentorNot Active29-Nov-10 5:09 
QuestionMessage Removed Pin
29-Nov-10 1:01
ArtOfScience29-Nov-10 1:01 
AnswerRe: How to detect if monitor is powered on Pin
RobCroll29-Nov-10 1:15
RobCroll29-Nov-10 1:15 
GeneralMessage Removed Pin
29-Nov-10 1:34
ArtOfScience29-Nov-10 1:34 
GeneralRe: How to detect if monitor is powered on Pin
RobCroll29-Nov-10 2:15
RobCroll29-Nov-10 2:15 
GeneralRe: How to detect if monitor is powered on Pin
ArtOfScience29-Nov-10 2:34
ArtOfScience29-Nov-10 2:34 
AnswerRe: How to detect if monitor is powered on Pin
Henry Minute29-Nov-10 1:21
Henry Minute29-Nov-10 1:21 
GeneralRe: How to detect if monitor is powered on Pin
ArtOfScience29-Nov-10 1:30
ArtOfScience29-Nov-10 1:30 
AnswerMy Vote of 1 Pin
Keith Barrow29-Nov-10 1:26
professionalKeith Barrow29-Nov-10 1:26 
AnswerRe: How to detect if monitor is powered on Pin
Keith Barrow29-Nov-10 2:00
professionalKeith Barrow29-Nov-10 2:00 
GeneralRe: How to detect if monitor is powered on Pin
ArtOfScience29-Nov-10 2:08
ArtOfScience29-Nov-10 2:08 
GeneralRe: How to detect if monitor is powered on Pin
Keith Barrow29-Nov-10 2:12
professionalKeith Barrow29-Nov-10 2:12 

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.