Delete a scheduled job
delete_site_cron
Permanently deletes one scheduled job from a site, along with its whole run history.
Scopeconfig:writeDestructive
It stops firing immediately and there is no undo. Disabling it with toggle_site_cron is the reversible option and is usually what someone means by "turn this off". See Scheduled jobs.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
cronId |
string | Yes | The job id from list_site_crons. |