# PUT /jobs/scheduled/{job}

Section: [Scheduled jobs](https://appengine.appmint.io/documentation/tag/scheduled-jobs.md) · Full index: https://appengine.appmint.io/documentation.md
## PUT /jobs/scheduled/{job}

**Change a scheduled job**

`operationId: ScheduledJobsController_save`

Turn the job on or off, move its time (daily jobs, `HH:mm` 24-hour) or interval (interval jobs, minutes: 5, 10, 15, 20, 30, 60, 120, 180, 240, 360, 720), or give it its own time zone (IANA name; empty = the business time zone). Only the fields sent change. The org's schedule record is updated in place — the cron moves, a turned-off job is stopped — never duplicated. 400 with `problems` when a field is wrong.

#### Signature

```http
PUT /jobs/scheduled/{job} (job: string, body) -> The job's row, as in GET /jobs/scheduled
```

#### Access

Requires a bearer JWT (`Authorization: Bearer <token>`).

#### Errors

| Status | Code | Message | When | What to do |
| --- | --- | --- | --- | --- |
| `400` | SETTINGS_INVALID | Use HH:mm, 24-hour | A field is wrong; `problems` lists each `{ field, message }` | Fix the named fields and send again. |
| `404` | JOB_NOT_FOUND | There is no scheduled job "<job>" | The job id is not registered on this server | Use a job id from GET /jobs/scheduled. |

Plus the standard platform errors: `401`, `403`, `429`, `500`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgid` | header | string | yes | Organization (tenant) identifier. Every request is scoped to this org; data from other orgs is never visible. Issued with your API credentials. |
| `job` | path | string | yes | The job id, e.g. readiness-daily, journeys-sweep, leave-nightly, a2p-watch, voice-agent-sweep, ai-employee-ping, everify-refresh, broadcast-send, notification-send, external-mail-pull, service-billing, data-purge, social-sync-messages. |

### Request body

The fields to change.

```json
{
  "enabled": true,
  "time": "05:30",
  "timezone": "America/Chicago"
}
```

### Responses

| Status | Meaning |
| --- | --- |
| `200` | The job's row, as in GET /jobs/scheduled |
| `400` | Use HH:mm, 24-hour — A field is wrong; `problems` lists each `{ field, message }` |
| `401` | Authentication failed: Invalid or expired token — The `Authorization` header is missing, malformed, or the JWT has expired. |
| `403` | You do not have permission to perform this action — The caller is authenticated but lacks the role required by the endpoint, or is acting on another org. |
| `404` | There is no scheduled job "<job>" — The job id is not registered on this server |
| `429` | Too Many Requests — More than 100,000 requests from one IP within 5 minutes (configurable per deployment). CORS preflights and requests from inside the platform cluster are not counted. The limiter answers before the error filter, so the body is `{ statusCode, error, message }` with no `path`, `method` or `timeStamp`; the `RateLimit-*` response headers say when the window resets. |
| `500` | An unexpected error occurred. Our team has been notified. — An unhandled server-side failure. |

Example response:

```json
{
  "job": "readiness-daily",
  "group": "readiness",
  "label": "Readiness daily run",
  "kind": "daily",
  "enabled": true,
  "available": true,
  "inUse": true,
  "time": "05:30",
  "timezone": "America/Chicago",
  "timezoneSetting": "",
  "schedule": "Daily at 04:00 (America/Los_Angeles)",
  "cron": "30 5 * * *",
  "scheduleId": "68f0c2a1e4b0a1b2c3d4e5f6",
  "queued": true,
  "nextRun": "2026-10-04T11:00:00.000Z",
  "lastRun": {
    "at": "2026-10-03T11:00:00.120Z",
    "trigger": "schedule",
    "ok": true,
    "ms": 5310,
    "summary": {
      "assigned": 3
    },
    "jobId": "68f0c2a1e4b0a1b2c3d4e5f7"
  }
}
```

