Altering and dropping actions
You can alter the config or scheduling parameters with alter_job
.
Replace the entire JSON config for job with id 1000 with the specified JSON:
SELECT alter_job(1000, config => '{"hypertable":"metrics"}');
Disable automatic scheduling of the job with id 1000. The job can still be run manually with run_job
:
SELECT alter_job(1000, scheduled => false);
Reenable automatic scheduling of the job with id 1000:
SELECT alter_job(1000, scheduled => true);
Delete the job with id 1000 from the automation framework with delete_job
:
SELECT delete_job(1000);
当前内容版权归 TimescaleDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 TimescaleDB .