Jul 16, 2010

Web Based Job Scheduler - CodeProject

There are many ways to schedule a task on a web server. For example, you can use Windows Task Scheduler and SQL Server Agent. This application is unique in that you can:

  • Schedule jobs using a web browser.
  • Extend the scheduling application to include your own features.
  • Using the code
This application has three components:

  • A Windows Service that will run a job (DOS command text).
  • A Web Application that will let you schedule a job.
  • MS SQL Server database Stored Procedure to get the list of jobs that need to run.

Application Scheduler Service Using VB.Net And XML

This is an application scheduler that is implemented as a Windows Service, similar to the Windows Task Scheduler - but simple, as it has fewer configuration options and it uses XML to store and retrieve data.

The program uses System.Timers, System.Threading and System.Diagnostics to repeatedly loop through the XML data to see whether an application is scheduled to run at the present time or not, and if yes, to launch it as a new process in a new thread.