Click here to Skip to main content
15,885,366 members
Articles / Programming Languages / C#
Article

Task Scheduler

Rate me:
Please Sign up or sign in to vote.
1.31/5 (34 votes)
29 Sep 20072 min read 73K   3.3K   26   15
Task Scheduler a Replica of Windows Task Scheduler
Screenshot - Initial_Screen_small.jpg

Introduction

The Task Scheduler is a Windows service that schedules and automatically starts programs. There is plenty of room for improvement for the default Task Scheduler provided by the Microsoft's Windows. This is an initial step towards that.

I have uploaded only the source code required to help you understand in implementing the Scheduler, as I had some additional code included in the project and was not able to upload it.

Background

This article demonstrates a simple Task Scheduler. This Scheduler uses the library "A New Task Scheduler Class Library for .NET" by Dennis Austin. I would like to thank all people here who share their knowledge and come up with new concepts and also help other to make them understand. This project provides the UI for the library I have used and makes it easy to understand the library and in the implementation.

Screenshot - Confirmation_Screen.jpg

Screenshot - Initial_Screen_with_Details_Small.jpg

The Task Scheduler is very simple and easy to use. The working of the Task Scheduler is similar to the working of the Scheduler provided by Microsoft Window's Operating System. As I said, this is an initial step towards the improvement of the Microsoft Windows Operating System. I have included a small option to hide the Tasks scheduled from this Task Scheduler from the default window's scheduler and it can be viewed and modified by this Task Scheduler only.

Screenshot - Confirmation_Screen_Hide_Details.jpg

I haven't included the complete code for the project, but you have the complete code for the implementation of the scheduler. You can get the code for the Task Scheduler Library here.

Points of Interest

Task Scheduler comes with a new option to hide the Tasks scheduled from this Task Scheduler from the default window's scheduler and it can be viewed and modified by this Task Scheduler only.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer India
India India
This is Govardhana Reddy, i am here to explore this world of INTERNET. I feel this is one way through which i can explore this world of INTERNET.

I want to be one among the best in this profession (a Software Developer, not a Software Engineer its a bit Controversial.) if not the "BEST"

My definition of a Software Engineer : "A person who knows what to cut/copy and where to paste".

Apart from my technical stuff I love Long Drives, Computer Gaming, Sports, Bikes and much more to say.

Anyways long road ahead keep me accompanied...

Comments and Discussions

 
GeneralGreat scheduler library for .NET - Quartz.net Pin
goyello30-Sep-09 2:54
goyello30-Sep-09 2:54 
I'm using Quartz.net for scheduling tasks. You can read more about here:
http://blog.goyello.com/2009/09/21/how-to-use-quartz-net-in-pro-way/
GeneralRe: Great scheduler library for .NET - Quartz.net Pin
Kikoz6822-Oct-09 8:18
Kikoz6822-Oct-09 8:18 
GeneralWhy does task always automatictly closed Pin
charles99921-May-08 3:46
charles99921-May-08 3:46 
GeneralRe: Why does task always automatictly closed Pin
Govardhana Reddy21-May-08 6:33
professionalGovardhana Reddy21-May-08 6:33 
GeneralRe: Why does task always automatictly closed Pin
charles99921-May-08 6:45
charles99921-May-08 6:45 
Questionit's all about the code, but where is the code ? Pin
pita200029-Sep-07 22:03
pita200029-Sep-07 22:03 
AnswerRe: it's all about the code, but where is the code ? Pin
Govardhana Reddy30-Sep-07 1:36
professionalGovardhana Reddy30-Sep-07 1:36 
GeneralRe: it's all about the code, but where is the code ? Pin
Patrick Etc.30-Sep-07 5:36
Patrick Etc.30-Sep-07 5:36 
GeneralRe: it's all about the code, but where is the code ? Pin
Govardhana Reddy1-Oct-07 4:32
professionalGovardhana Reddy1-Oct-07 4:32 
GeneralRe: it's all about the code, but where is the code ? Pin
Patrick Etc.1-Oct-07 4:57
Patrick Etc.1-Oct-07 4:57 
GeneralRe: it's all about the code, but where is the code ? Pin
Govardhana Reddy1-Oct-07 11:03
professionalGovardhana Reddy1-Oct-07 11:03 
QuestionWhat kind of an article is this? Pin
Rammohan Raja25-Sep-07 9:36
Rammohan Raja25-Sep-07 9:36 
AnswerRe: What kind of an article is this? Pin
Govardhana Reddy25-Sep-07 21:41
professionalGovardhana Reddy25-Sep-07 21:41 
GeneralRe: What kind of an article is this? Pin
Rammohan Raja26-Sep-07 3:47
Rammohan Raja26-Sep-07 3:47 
GeneralRe: What kind of an article is this? Pin
Govardhana Reddy26-Sep-07 8:37
professionalGovardhana Reddy26-Sep-07 8:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.