Windows Service Timer Events

  • Thread starter Thread starter wdewebserver
  • Start date Start date
W

wdewebserver

Hi

How can I cause a windows service to fire the timer_elapsed event for
different time intervals? I have a windows service that should run some
processed at 3 minute interval, but I also want it to run some processes on,
say 5, 10 or 15 minutes depending on the configuration file.

Or is there a way that I can check on the current 3 minute interval that
say, it's a 15 minute interval and therefore run the 15 minute process.

Thanks in advance
 
I think you should have two timers for this task, as per my understanding.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top