DEFINE SCHEDULE (Define a client or an administrative command schedule)

Use this command to create a client or administrative command schedule.

The DEFINE SCHEDULE command takes two forms: one if the schedule applies to client operations, one if the schedule applies to administrative commands. Within these two forms, you can select either classic or enhanced style schedules. The syntax and parameters for each form are defined separately.

For each schedule, a startup window is specified. The startup window is the time period during which the schedule must be initiated. The schedule will not necessarily complete processing within this window. If the server is not running when this window starts, but is started before the end of the defined window is reached, the schedule will run when the server is restarted. Options associated with each schedule style (classic and enhanced) determine when the startup windows should begin.

Table 1. Commands related to DEFINE SCHEDULE
Command Description
COPY SCHEDULE Creates a copy of a schedule.
DEFINE ASSOCIATION Associates clients with a schedule.
DELETE SCHEDULE Deletes a schedule from the database.
QUERY EVENT Displays information about scheduled and completed events for selected clients.
QUERY SCHEDULE Displays information about schedules.
SET MAXCMDRETRIES Specifies the maximum number of retries after a failed attempt to execute a scheduled command.
SET MAXSCHEDSESSIONS Specifies the maximum number of client/server sessions available for processing scheduled work.
SET RETRYPERIOD Specifies the time between retry attempts by the client scheduler.
UPDATE SCHEDULE Changes the attributes of a schedule.