Skip to main content
The SHOW CREATE SCHEDULE displays the CREATE statement for an existing scheduled job, which can be used to recreate a schedule.

Required privileges

Only members of the can show a statement. By default, the user belongs to the admin role.

Synopsis

show_create_schedules syntax diagram

Parameters

ParameterDescription
schedule\_idUse the schedule id to show the for a particular schedule.
ALLUse to show the CREATE SCHEDULE statements for all existing schedules. This includes schedules.

Response

FieldDescription
schedule\_idThe id of the schedule.
create\_statementThe CREATE statement of the schedule.

Examples

SHOW CREATE SCHEDULE will display existing schedules including schedules that have been paused.

Show the CREATE SCHEDULE statement for a schedule

Use the schedule id for a particular schedule to view its CREATE statement:
To list all the currently active schedules, use .

Show the CREATE SCHEDULE statement for all schedules

See also