delete_job()

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 is terminated.

Required arguments

NameTypeDescription
job_idINTEGERTimescaleDB background job id

Sample usage

Delete the job with the job id 1000:

  1. SELECT delete_job(1000);