With this command you deactivate a scheduler job.
Afterwards, the job remains in the list of scheduler jobs but is no longer executed. Scheduler jobs that were defined as successors of a deactivated job are neither executed any longer.
For deactivating a job, the operational state of the database is irrelevant. Likewise, it is irrelevant whether the scheduler is on or off.
You have the server permission 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 Database Manager CLI, log on as the operator OLEG with the password MONDAY, connect to the DEMODB database, and 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