Run a task every day at a certain time-of-fay

A

Avi

Hi all,

What is the best way to implement a "scheduler" to run a task every day at a
certain time-of-day?

Take care,
Avi
 
A

Alberto Poblacion

Avi said:
What is the best way to implement a "scheduler" to run a task every day at
a certain time-of-day?


You can write a Windows Service that uses a Timer to periodically
"awaken" and launch any tasks that are scheduled for the current time. That
is how the Windows Task Scheduler works (I hope that your question is due to
academic curiosity, and not because you intend to implement such a
scheduler, since it is alerady built-in into Windows).
 
J

Joe Cool

Hi all,

What is the best way to implement a "scheduler" to run a task every day at a
certain time-of-day?

Why not use the builtin Windows Scheduled Task feature?
 

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

Top