---
title: "CreateCron"
method: POST
path: "/v1/cron/"
tags: ["cron"]
---

# CreateCron

`POST /v1/cron/`

Create a new cron.

## Request body

- DtoCreateCron
  - `command` string
  - `comment` string
  - `schedule` string

## Response `201`

CronCreated

- object

---

[API](https://skmtc.net/goinfinite/apis/osapi.md) · [All operations](https://skmtc.net/goinfinite/apis/osapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goinfinite/osapi/revisions/7320a5d8ef9e/schema)
