Wednesday, January 17, 2007

Task Scheduler Library for .NET

For a project, we had to build a Web-UI to manage and run different scheduled tasks. Program the whole Scheduling-Management by ourself... hmmm, no way, there must be a solution.... why not just use the existing Windows Task Scheduler?

The Windows Task Scheduler is accessible thru a COM interface, but the .NET Framework does not offer any native wrapper for it. :-(

Dennis Austin built an excellent .NET wrapper for the Scheduler, including Source Code, MSDN Style Help and Demo Client. Wow, R-E-S-P-E-C-T !

I was able to build an ASP.NET 2.0 Application to list, add, edit and remove tasks to the scheduler - in no time! Thanks, Dennis - your my programmer of the Week

2 comments:

Anonymous said...

Hi Patrick,

How did you managed to edit the task triggers after you saved them? TaskTrigger provides no usefuel name or id to identify it.

Cheers

Chris

Patrick Spieler said...

Hi Chris

I have to check it! As soon as I have the answer, I'll post it here.

Best regards,
Patrick