Cron Job Object

Attributes

idstring

Unique identifier for the cron job

expressionstring

The cron expression that determines when the job runs

namestring | null

Optional name to identify the cron job

invocationsnumber

Number of times this cron job has been executed

timezonestring | null

The timezone in which the cron expression is evaluated

statusstring

Current status of the cron job. Can be either "Active" or "Paused"

endpointstring

The URL that will be called when the cron job executes

datarecord | null

Optional JSON payload that will be sent with each request

createdAtstring

ISO 8601 timestamp of when the cron job was created

nextInvocationstring | null

ISO 8601 timestamp of when the job will next execute

The cron job object
{
  "id": "49d10214-f4f1-497a-94b7-c0e597ad3fea",
  "expression": "0 0 * * *",
  "name": "My Cron Job",
  "invocations": 1249,
  "timezone": "Europe/London",
  "status": "Active",
  "endpoint": "https://www.example.com/api/next-cron",
  "data": null,
  "createdAt": "2024-03-19T10:30:00Z",
  "nextInvocation": "2024-03-20T00:00:00Z"
}