Start Thread at specifed time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an XML contains a time like 02:22:14 PM where it is read by windows
service i need to make a thread to start on a time specifed in the XML, how
can I achieve this?
 
Hi,

I think you could use a Timer and in the handler of it create the thread
( or simply run it ) , you set the timer timeout according to the diff
between DateTime.Now and the time especified in the XML

Pd:
Use System.Thread.Timer

cheers,
 
Back
Top