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

Name Type Description
job_id INTEGER TimescaleDB background job id

Sample usage

Delete the job with the job id 1000:

2. SELECT delete_job(1000);