Click here to Skip to main content
16,013,440 members
Home / Discussions / C#
   

C#

 
AnswerRe: CSV file logging data on timer event Pin
PIEBALDconsult29-Nov-10 11:08
mvePIEBALDconsult29-Nov-10 11:08 
AnswerRe: CSV file logging data on timer event Pin
Pete O'Hanlon29-Nov-10 11:13
mvePete O'Hanlon29-Nov-10 11:13 
QuestionPrinting from a C# application Pin
memorexr29-Nov-10 8:58
memorexr29-Nov-10 8:58 
AnswerRe: Printing from a C# application Pin
Henry Minute29-Nov-10 10:32
Henry Minute29-Nov-10 10:32 
GeneralRe: Printing from a C# application Pin
Luc Pattyn29-Nov-10 11:09
sitebuilderLuc Pattyn29-Nov-10 11:09 
QuestionA service to process scheduled tasks PinPopular
musefan29-Nov-10 4:46
musefan29-Nov-10 4:46 
AnswerRe: A service to process scheduled tasks Pin
#realJSOP29-Nov-10 4:50
professional#realJSOP29-Nov-10 4:50 
GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 5:21
musefan29-Nov-10 5:21 
Thanks for your reply and an interesting idea. Which I guess in your suggestion would be to sleep a synchronous thread until the task is due to run.

I guess my issue here would be when tasks are changed or cancelled. I suppose I could check the task is still valid at the same time you are comparing the dates. But then if I need to re-query the DB I may as well do so at regular intervals. I am not sure I like the idea of sleeping a thread for a week especially one that will be dynamically created.

I have been thinking that scheduled intervals will be limited to every 15 mins (e.g. 12.00, 12:15, 12:30 etc.) - So I could get away with querying the DB every 15 mins (or just short of and sleeping) - that way I can make sure I don't miss new tasks and updated tasks and I don't even need to notify the service when a tasks is added/changed
Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: A service to process scheduled tasks Pin
#realJSOP29-Nov-10 6:00
professional#realJSOP29-Nov-10 6:00 
GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 6:09
musefan29-Nov-10 6:09 
AnswerRe: A service to process scheduled tasks Pin
Luc Pattyn29-Nov-10 5:01
sitebuilderLuc Pattyn29-Nov-10 5:01 
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 
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 

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.