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.
You have the server authorization SchedulerMgm or you are the owner of the job and have the
Scheduling server authorization.
scheduler_deactivate_job <job_ID>
Option | Description |
---|---|
<job_ID> | Job ID of the Scheduler job to be activated |
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
Database Administration, Automating Administration Tasks