Skip to main content

List all cron entries

GET 

/node/:hostname/schedule/cron

List all cron drop-in entries on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Responses

List of cron entries.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    Hostname of the agent that reported this entry.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    name string

    Cron entry name.

    object string

    Object store name for the deployed content.

    schedule string

    Cron schedule expression. Present for /etc/cron.d/ entries.

    interval string

    Possible values: [hourly, daily, weekly, monthly]

    Periodic interval (hourly, daily, weekly, monthly). Present for /etc/cron.{interval}/ entries.

    source string

    Where the entry lives: "cron.d", "hourly", "daily", "weekly", or "monthly".

    user string

    User the cron entry runs as.

    error string

    Error message if the agent failed to retrieve this entry.

  • ]

Loading...