Delete every scheduled job
delete_all_site_crons
Permanently deletes every scheduled job on a site and all of their run history in one call.
Scopeconfig:writeDestructive
There is no undo. The tool tells the client to read the list with list_site_crons and confirm it with you first, and to use delete_site_cron when only one job is meant. It reports how many jobs it deleted.
It needs the Delete projects permission in the workspace, the same one the danger zone of the Crons tab asks for. See Scheduled jobs.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |