Use this command to activate a scheduler job.
For activating a job, the operational state of the database is irrelevant. Likewise, it is irrelevant whether the scheduler is on or off.
The activated job, however, is only actually executed if the scheduler is on and if you have the server permission for executing the DBM command defined in the job (see: scheduler_start)
The scheduler job, which is to be activated, has been created (see: scheduler_create_job).
You have the server permission SchedulerMgm or you are the owner of the job and have the server permission Scheduling.
scheduler_activate_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, activate the scheduler job with the job ID 1:
>dbmcli -u OLEG,MONDAY -d DEMODB scheduler_activate_job 1
OK
Database Administration, Automating Administration Tasks