POST
Resume a cron job

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

id
string
required

Cron job ID or UUID

Response

Resume a cron job

Api_V1_Entities_Cronjob model

uuid
string
required

Cron job UUID

name
string
required

Cron job name

label
string
required

Human-readable display name

schedule_type
string
required

Schedule type (cron, interval)

interval_type
string
required

Interval type (every_10_minutes, hourly, daily)

hour
string
required

Hour component

minute
string
required

Minute component

cron_expression
string
required

Cron expression for custom schedules

command
string
required

Command to execute

size
string
required

The size code each run gets, e.g. hobby-1c-1g; null for a cron job created before sizes, which keeps its CPU and RAM until one is set

overage
string
required

What a run past its resource's cron minutes does: 'pause' until the next renewal, or 'bill', billed by the second. Always 'bill' on Usage Billing or a plan that costs nothing, which include no cron minutes, and 'pause' on an enterprise contract with a cron minute limit; null where its runs are not billed (an enterprise contract without a limit, a resource exempted from billing on a plan that costs nothing, the workspace pool)

max_run_seconds
integer<int32>
required

How long a run may take, in seconds, before it is stopped and ends failed with reason DeadlineExceeded; null for no limit

suspended
boolean
required

Whether the cron job is paused: it starts no run and is not billed. POST .../pause and .../resume change it

status
string
required

Current status (running, stopped)

last_job_name
string
required

Name of the most recent run

last_job_status
string
required

Status of the most recent run (e.g. running, complete, failed)

last_job_run_at
string<date-time>
required

Last execution timestamp

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp