Job Scheduler

Some applications may require execution of jobs accordingly particular time schedule. These tasks can be done by using job scheduler. The scheduler can run jobs in accordance with specific time or period. There are two key things of scheduler: schedule and job handler. Those can be bound by “one to many” relation. Schedule describes a specific handler call time while the handler may be used in many schedules. So you can use one job handler in different schedules.

Job handlers relate with a specific context of job handling, which contain information about schedule, handler fire time, the previous and the next fire time, additionally it may contain extra data defined by developer. Processing context is specified as job or job instance. Each job handling is executed in background thread.

InfinniPlatform job scheduler may run scheduled tasks in cluster infrastructure. This feature is delivered by message queue that guarantees processing of the job by one of the clusters nodes while computing power is equally distributed among the cluster nodes.