|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows ServiceHi all,
Would some one give me a hand? I have been given a task to monitor status of records in database and if the status of the records change, I have to send email out to customers. My questions are: 1. Do I have to write multi thread windows service (I don't know much about multi threading)? 2. If I want to have my service to check every 15 minutes, is it best to use thread.sleep method to do this or timer control? Thanks Sam Sam,
It doesn't have to be complicated at all. I have a windows service that checks to see if Employees are clocked in and if not, sends an email to their managers. It's very simple and not a lot of code. No multthreading involved and it use 1 timer. Sam wrote: Show quoteHide quote > Hi all, > > Would some one give me a hand? I have been given a task to monitor status of > records in database and if the status of the records change, I have to send > email out to customers. My questions are: > > 1. Do I have to write multi thread windows service (I don't know much about > multi threading)? > 2. If I want to have my service to check every 15 minutes, is it best to use > thread.sleep method to do this or timer control? > > Thanks > > Sam That's what I thought thanks for the suggestion Charlie
Sam Show quoteHide quote "Charlie Brown" <cbr***@duclaw.com> wrote in message news:1150465043.954224.178120@r2g2000cwb.googlegroups.com... > Sam, > It doesn't have to be complicated at all. I have a windows service > that checks to see if Employees are clocked in and if not, sends an > email to their managers. It's very simple and not a lot of code. No > multthreading involved and it use 1 timer. > > > Sam wrote: >> Hi all, >> >> Would some one give me a hand? I have been given a task to monitor status >> of >> records in database and if the status of the records change, I have to >> send >> email out to customers. My questions are: >> >> 1. Do I have to write multi thread windows service (I don't know much >> about >> multi threading)? >> 2. If I want to have my service to check every 15 minutes, is it best to >> use >> thread.sleep method to do this or timer control? >> >> Thanks >> >> Sam >
Label Autosize Property... Possible bug??
Does vb.net winform supports checkbox groups? Writing a byte to a specific location in a file Can Format function force upper/lower case? I don't get this --> Make Thread-Safe Calls to Windows Forms Controls VB and VB.NET Exception.ToString() VB 2005 OOP Videos Wizard for UserControl Adding Image to Device Context |
|||||||||||||||||||||||