Skip to content

Create a new cron job

POST
/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/cron

Authorizations

Parameters

Path Parameters

organisation
required
string

The organisation ID

application
required
string

The application ID

environment
required
string

The environment ID

Request Body required

object
name
required
string
description
string
nullable
scheduleExpression
required
string
command
required
Array<string>
targetContainerName
string
nullable
isEnabled
boolean
default: true nullable

Responses

201

The created cron job

object
name
string
schedule
string
command
string

400

The request is invalid

422

The request is invalid

object
message
string
errors
object