Skip to main content
The SHOW SCHEDULES lists all of the currently active and . It also lists all of the currently active scheduled jobs for .

Required privileges

To run SHOW SCHEDULES, a user must have one of the following:
  • Membership in the . By default, the root user belongs to the admin role.
  • New in v26.3: The system privilege, which can be granted with GRANT SYSTEM VIEWJOB TO <user>.
  • The system privilege.

Synopsis

show_schedules syntax diagram

Parameters

Response

The output of SHOW SCHEDULES is sorted by creation time. The following fields are returned for each schedule:

Examples

Show schedules

To view the CREATE SCHEDULE statements for scheduled jobs, use .

Show running schedules

Show paused schedules

Show a specific schedule

To view a specific schedule, use the schedule’s id:

See also