---
title: cronCreate
description: Gateway RPC for creating cron schedules.
maturity: stable
apiVersion: v1
---

`cronCreate` creates or replaces a Gateway cron schedule.

- Method: `cronCreate`
- Scope: `cron:write`
- Transports: HTTP RPC, WebSocket RPC
- Request: `{ workflow, pattern, cronId?, enabled? }`
- Response: `{ cronId, workflow, pattern, enabled }`

Errors are versioned as `v1` and include `InvalidRequest`, `Unauthorized`, `Forbidden`, and `Internal`.
