Has anyone heard of a generic scheduling class written in .NET?
I don't mean something that manipulates the windows task scheduler. I'm talking about a more generic scheduling engine that can be used to define schedules in all the various complex ways that users have come to expect (like hourly, daily, on certain days of the week, at certain times, on the last friday of every Xth month etc.), and then check whether those schedules are due to be executed.
I'm imagining some pseudo code for it's usage would go like this:
Dim oSchedEng as New SchedulerEngine()
Dim oSched as Schedule = oSchedEng.CreateSchedule()
Dim oTrigger1 as New Trigger(HOURLY, ONTHEHOUR)
Dim oTrigger2 as New Trigger(WEEKLY, MON or WED)
>>> in a timer somewhere <<<
If oSched.Check() Then
' Perform the task the schedule was meant for