Background documentationscheduler_deactivate_job Locate this document in the navigation structure

 

You deactivate a Scheduler job.

The job then remains in the list of Scheduler jobs but is no longer executed. Scheduler jobs that were defined as successors of a deactivated job are also no longer executed.

For deactivating a job, the operational state of the database instance is irrelevant. Whether the scheduler is enabled or disabled is likewise irrelevant.

Prerequisites

You have the server authorization SchedulerMgm or you are the owner of the job and have the

Scheduling server authorization.

Structure

scheduler_deactivate_job <job_ID>

Options

Option

Description

<job_ID>

Job ID of the Scheduler job to be activated

Result

OK

In the event of errors, see Reply Format.

Example

Call the Database Manager CLI, log on as operator OLEG with password MONDAY, connect to the DEMODB database instance, deactivate the Scheduler job with the job ID 1:

>dbmcli -u OLEG,MONDAY -d DEMODB scheduler_deactivate_job 1

OK

More Information

Database Administration, Automating Administration Tasks