Skip to content
TimescaleDB - Timeseries database for PostgreSQL
  • Timescale.com
Install TimescaleDB
Getting started
TimescaleDB
API Reference
Hypertables & chunks
Distributed hypertables
Compression
Continuous aggregates
Data retention
Actions and automation
add_job
alter_job
delete_job
run_job
Hyperfunctions
Informational views
Configuration
Administration Functions
API Reference Tag Overview
Timescale Cloud
Managed Service for TimescaleDB
Promscale
Try for free
API ReferenceActions and automationdelete_job
Versions:

delete_job()
Community
Community functions are available under Timescale Community Edition. Click to learn more.

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:

SELECT delete_job(1000);

Found an issue on this page?

Report an issue!
Previousalter_jobNextrun_job

Related Content

add_job
Register an action for scheduling by the automation framework
timescaledb_information.job_stats
Shows information and statistics about jobs run by the automation framework
timescaledb_information.jobs
Shows information about all jobs registered with the automation framework
run_job
Run a previously registered job in the current session