Skip to main content

Get a cronjob execution

GET/cronjobs/{cronjobId}/executions/{executionId}/
v2
GET
cronjob-get-execution

Request

  • executionIdstring
    required

    ID of the CronjobExecution to be retrieved.

    Example:"cron-bd26li-28027320"
  • cronjobIdstring (uuid)
    required

Responses

application/json

OK

  • abortedByobject
    • idstring (uuid)
  • durationInMillisecondsinteger (int64)
  • endstring (date-time)
  • executionEndstring (date-time)
  • executionStartstring (date-time)
  • idstring
    required
  • logPathstring
  • startstring (date-time)
  • statusstring (one of: Complete, Failed, AbortedBySystem, Pending, Running, AbortedByUser, TimedOut)
    required
  • successfulboolean
    required
  • triggeredByobject
    • idstring (uuid)

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/cronjobs/f0f86186-0a5a-45b2-aa33-502777496347/executions/string