title: how to start/run a windows service at particular time (say: 12:00 PM) every day?
body: <p><strong>Background:</strong> I have developed a windows service which runs once every day and does the work (every thing is just right!)</p>
  
  <p><strong>Issue:</strong> the service runs exactly at the same time (last run time) the other day..
         Ex: If I start the service at 4:00 PM today so it will run again at 4:00 PM every day.</p>
  
  <p><strong>My solution</strong> till yet (but not working fine) I want it to configure it self with the <strong>StartTime</strong> and <strong>IntervalTime</strong> mentioned in the app.config file and run at that time everyday (regardless of when I have started it)</p>
  
  <p>Having problems with this silly thing .. Please help in this regards with sample code.
  Your help is really appreciated, Thanks in advance.</p>
  
  <p>For further clarification, if I have mentioned in app.config</p>
  
  <pre><code>key="StartTime" value="12:00"
  key="Interval" value="86400000"
  </code></pre>
  
  <p>so it must run on 12:00 PM every day (as interval period is 86400000 milliseconds i.e. 1day) regardless of the time when I started it or make it live.</p>