Versions:
delete_job() CommunityCommunity functions are available under Timescale Community Edition. Click to learn more.
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
Name | Type | Description |
---|---|---|
job_id | INTEGER | TimescaleDB 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!