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:

  1. 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:

  1. SELECT alter_job(1000, scheduled => false);

Reenable automatic scheduling of the job with id 1000:

  1. SELECT alter_job(1000, scheduled => true);

Delete the job with id 1000 from the automation framework with delete_job:

  1. SELECT delete_job(1000);