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

  • Thread starter Thread starter Avi
  • Start date Start date
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
 
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).
 
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?
 
Back
Top