---
title: "Create jobs schedule"
method: PUT
path: "/{env_id}/{flow_id}/{tenant_id}/jobs/schedule"
---

# Create jobs schedule

`PUT /{env_id}/{flow_id}/{tenant_id}/jobs/schedule`

Create a new schedule for a tenant

## Path parameters

- `env_id` string, required
- `flow_id` string, required
- `tenant_id` string, required

## Request body

- object
  - `job_type` 'read' | 'write' — The type of job within the v2 flow to manipulate. Accepts "read" or "write."
  - `schedule_expression` string, required — cron expression defining how often sync should occur e.g. `cron(0 0 * * *)`
  - `state` 'DISABLED' | 'ENABLED' — Whether this schedule should be DISABLED or ENABLED
  - `schedule_jitter_minutes` integer, nullable — Jitter window in minutes for default schedules. Only allowed when tenant is `default`; set to null to clear.

## Response `200`

200

- object
  - `ScheduleExpression` string
  - `State` string
  - `ScheduleJitterMinutes` integer, nullable

## Other responses

- `400` — 400

---

[API](https://skmtc.net/hotglue/apis/hotglue-api.md) · [All operations](https://skmtc.net/hotglue/apis/hotglue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hotglue/hotglue-api/versions/30ff54d01ec0/schema)
