Skip to main content

Schedule

idstring
namestring

Unique slug of the account (lowercase letters, digits, dashes).

titlestring | nullnullable

Free-text display name (trimmed; blank saves null). Show it, falling back to name.

Possible values: <= 120 characters

Example: Thu thập hằng ngày
cron_expressionstring

Five fields or @hourly/@daily/@weekly/@monthly.

Example: 0 8 * * *
timezonestring
Example: Asia/Ho_Chi_Minh
is_enabledboolean
notify_on_failureboolean

A fire that cannot start its run notifies the account (schedule.failed).

Default value: true
descriptionstring | nullnullable
actions object[]

Possible values: <= 10

  • Array [
  • typestring

    Possible values: [RUN_ACTOR, RUN_ACTOR_TASK]

    actor_idstring
    task_idstring
    inputobject
    optionsobject
  • ]
  • last_run_atstring | nullnullable
    last_run_idstring | nullnullable

    The newest run this schedule started (read-only).

    last_run_statusstring | nullnullable

    Status of that run (read-only); null when it has not run yet.

    next_run_atstring | nullnullable
    Schedule
    {
    "id": "string",
    "name": "string",
    "title": "Thu thập hằng ngày",
    "cron_expression": "0 8 * * *",
    "timezone": "Asia/Ho_Chi_Minh",
    "is_enabled": true,
    "notify_on_failure": true,
    "description": "string",
    "actions": [
    {
    "type": "RUN_ACTOR",
    "actor_id": "string",
    "task_id": "string",
    "input": {},
    "options": {}
    }
    ],
    "last_run_at": "string",
    "last_run_id": "string",
    "last_run_status": "string",
    "next_run_at": "string"
    }