The administrative task scheduler
The administrative task scheduler enables DB2® database servers to automate the execution
of tasks. It also provides a programmable SQL interface, which allows
you to build applications that can take advantage of the administrative
task scheduler.
Setting up the administrative task scheduler
The administrative task scheduler is disabled by default.
You can use the procedures and views to define and modify tasks but
the scheduler will not execute the tasks. To set up the administrative
task scheduler, configure the DB2_ATS_ENABLE registry
variable and create the SYSTOOLSPACE table space.
Adding a task to the administrative task scheduler
You can use the ADMIN_TASK_ADD procedure to define new
scheduled tasks. The parameters that you use when you call the procedure
define the schedule and the work for each task.