Skip to main content

List configured scheduled jobs

GET 

/cron/jobs

Returns every scheduled job Peen loaded from the operator's cron file at startup, sorted by name, each with its next scheduled occurrence and its most recent run. Takes no session header and no paging; the list is the whole configuration.

  • While PEEN_CRON is off, the list is empty. Past runs stay readable through GET /cron/runs.
  • Jobs change only when Peen restarts with an edited cron file. The API cannot add, change or trigger a job.

Responses​

The scheduled jobs loaded at startup, sorted by name.

Response Headers
    X-Request-ID

    The request's correlation ID. When the request carried an X-Request-ID header holding a UUID, Peen echoes it; otherwise Peen generates a new UUID. The controller log records the same value for this request.