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_CRONis off, the list is empty. Past runs stay readable throughGET /cron/runs. - Jobs change only when Peen restarts with an edited cron file. The API cannot add, change or trigger a job.
Responses
- 200
- 401
- 406
- 500
The scheduled jobs loaded at startup, sorted by name.
Response Headers
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.
PEEN_API_TOKEN is set and the request's bearer token is missing or wrong. code is UNAUTHORIZED. A deployment with no token never returns this.
The request's Accept header allows neither application/json nor */*, and every response is JSON. code is BAD_REQUEST and message is unsupported response representation. Omit Accept or send application/json.
An unexpected server failure. code is INTERNAL_SERVER_ERROR and message is internal server error. The controller log has the details under the response's X-Request-ID.