# TreeSched | from rgordon.co.uk
# Welcome TreeSched is a tool kit to provide java developers with the ability to add flexible time based scheduling to their applications. TreeSched is so called because the scheduling definition is defined as hierachical tree of schedules, each providing a tighter constraint on the time frame of the schedule - from yearly events down to the millisecond. ## Why TreeSched TreeSched's use of a treelike hierachy of schedules allows great flexability. For example the user can schedule events by the hour in January, but only on Tuesdays for the rest of the year. TreeSched allows breaks in a schedule for holidays, weekends or even just lunchtimes. TreeSched can provide a schedule for the last working day of the month - again accounting for holidays, or any occurence of of a time, second Tuesday of the month, or second Tuesday or Wednesday whichever is first... or last - pretty much any combination of times you can think of. TreeScheds structure lends itself to xml configuration files. The API includes classes for adding schedule elements to Ant tasks. The examples show how this can be achieved. TreeSched is open source, if you have thought of a schedule that isn't implemented, you can change the code so it does exactly what you want. ## Why not TreeSched TreeSched provides a schedule, not a scheduler. For an application that uses TreeSched to schedule jobs then please see OddJob. TreeSched is new and relatively untested. If your scheduling requirements are not very complicated then look at: Quartz JCronTab