Chalk SQL
Delete a Chalk SQL job's schedule and stop future triggers while preserving run history.
DROP JOB deletes a SQL job’s schedule. It stops future triggers and preserves run records.
DROP JOB [ IF EXISTS ] <name>;
| Parameter | Description |
|---|---|
<name> | SQL identifier of the SQL job to drop. |
IF EXISTS | Succeeds and returns no rows if the named job is missing. |
The command returns one row describing the deleted schedule with the columns of chalk.jobs.
Dropping a SQL job requires cron.read, cron.create, workflow.read, and workflow.manage
in the environment.
Drop the job if it exists.
DROP JOB IF EXISTS morning_report;
ALTER JOB to suspend future runs and keep the schedule