delete_job()

Community

Delete a job registered with the automation framework. This works for user-defined actions as well as policies.

If the job is currently running, the process will be terminated.

Required Arguments

NameTypeDescription
job_idINTEGERTimescaleDB background job id

Sample Usage

  1. SELECT delete_job(1000);

Delete the job with the job id 1000.