Time, schedulers and Manpower

by daniel on September 17, 2008

For a new enhancement to the product, we need a scheduler for performing scheduled tasks. Summary of the high level requirement follows:

  1. Flexibility of executing different tasks.
  2. Flexibility on defining the time definitions (date ranges, periodicity etc).
  3. Multi-platform (Windows, Linux).
  4. Capability of executing tasks on different computers.
  5. Capability of running scripts on SQL and Oracle databases.
  6. Programmable by an external program.

In addition there are several constraints:

  1. There is little development time until use of the basic functionality is required.
  2. The solution must be easy to integrate into the system.


There are several possible solutions:

  1. Windows scheduler.
  2. Linux cron.
  3. Cron port to windows
  4. Using known external application
  5. Specific software written to suit the requirements
  6. Using Data Base scheduler.


Each solution has its benefits and drawbacks but we can divine them into two groups:

–          Custom solutions, where software is developed: this option provides the maximal flexibility, but it take development effort and will require bug fixing

–          Use off the shelf software, where integration is required: this option requires little development time, but a lot of integration and some limitations will be inherent to the solution.


A third group would be using an open source solution, which is closest to the requirements but can be modified to suit our specific requirements. Of course, legal implications need to be considered, and some effort for learning the existing software is required.


For the problem at hand, using the DB scheduler is the preferred way as it mixes a bit of both:

  1. The scheduler itself is off the self and included in the DB.
  2. The integration was already done and we use it to schedule maintenance tasks.
  3. The development time for this solution is not large.



This is a real case of tradeoff analysis for selecting a solution. There is no right way, so the solution takes into account what is the most suitable in this specific case.

No tags for this post.

Comments on this entry are closed.

Previous post:

Next post: