I am looking for something similar to the below link
http://www.codeproject.com/KB/dotnet/ABTransClockArticle.aspx
but the above link source code seems not easy to use.
I want to do some scheduled tasks easily in C#.NET, e.g to perform certain task on every Wednesday at 3PM, or to do some task every hourly on everyday, etc.
I would appreciate if some suitable weblinks or source is available.
thanks.

2 answers
http://bartdesmet.net/blogs/bart/archive/2008/02/23/calling-the-task-scheduler-in-windows-vista-and-windows-server-2008-from-managed-code.aspx
see above link.. this is what I have been looking for.. it is so much simpler to use.. and could be implemented in a few steps....
for those who has similar needs of what I am looking for, the above link is worth to test it out...
answered 2 years ago by:
494
17279
That's a great link. Just one point though - as it's using Task Scheduler 2.0, it may not work on versions of Windows earlier than Vista even if you redistribute the dll.
You might find the Task Scheduler library in this other highly-rated Code Project article easier to understand and use.
As you'll see this provides a .NET wrapper for version 1.0 of Windows' own Task Scheduler (available from Scheduled Tasks in the Control Panel).
The only reservations I have about the library are whether it will work properly with Vista, Windows Server 2008 and Windows 7 all of which use Task Scheduler version 2.0.
The author says it works OK on Vista with administrative privileges and so the chances are it will do likewise with the others but, unless you're developing purely for XP, I'd test the sample application on them all.
Alternatively, if you'd prefer something more lightweight I'd check out this article which uses a windows service to build a simplified Task Scheduler application. However, you'll need to add some code to provide hourly scheduling.
answered 2 years ago by:
17279
494
thanks for those links, but seem not that straightforward to use either. I am looking for something simple.