JOB

2024-03-05 01:54:26  Updated

Purpose

You can use this statement to trigger background jobs specified for parameters.

You can execute this statement only in the sys tenant.

Syntax

alter_system_job_stmt:
ALTER SYSTEM RUN JOB job_name
[ZONE [=] 'zone' | SERVER [=] 'server'];

Parameters

Parameter Description
job_name The job name. Single quotation marks (') are required for special characters and optional in other cases. Supported jobs include:
  • check_partition_table: checks and drops a partition table.
  • root_inspection: triggers a RootService inspection.
SERVER [=] 'server' Specifies the server to execute the job. Only check_partition_table supports this parameter.
ZONE [=] 'zone' Specifies the zone to execute the job. Only check_partition_table supports this parameter.

Examples

Trigger a RootService inspection job.

obclient> ALTER SYSTEM RUN JOB "root_inspection";

Contact Us