Simple Task Scheduler inside your application (C#)
Posted by: Williams .Net Zone,
on 20 Dec 2007 |
View original | Bookmarked: 0 time(s)
Many times I need a simple task scheduler inside a program to do this or that. You can use any of the system timers to achieve this, but you end up writing the same difficult code over and over. This simple scheduler is built to be simple and efficient. There is no interval "period" (i.e. system Timer) to worry about or set. If you need to reschedule a Task, just reschedule it at the end of your task delegate. That way, you don't have to worry about strange recursive overlaps. In a perfect...