# toggle_site_cron

Source: https://modulify.ai/docs/mcp/scheduled-jobs/toggle-site-cron

Turns one scheduled job on a site on or off.

- Title: Enable or disable a scheduled job
- Scope: `config:write`
- Access: Makes changes

Disabling stops it firing but keeps its definition and history. Enabling recomputes the next run from that moment and clears both the consecutive failure count and any reason the platform switched it off automatically. See [Scheduled jobs](https://modulify.ai/docs/automations/scheduled-jobs#run-pause-and-edit).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `cronId` | string | Yes | The job id from `list_site_crons`. |
| `enabled` | boolean | Yes | True to enable the job, false to disable it. |