Skip to content
Hoody.com

The Cron service provides scheduled task execution within Hoody containers. This page documents the endpoints exposed by the Cron service for health monitoring and OpenAPI specification retrieval.

All endpoints are accessed on the container-scoped hostname:

https://{projectId}-{containerId}-cron-1.{server}.containers.hoody.com

Replace {projectId}, {containerId}, and {server} with the actual project, container, and server identifiers for your deployment.

Returns the current health status of the Cron service instance, including process information, uptime, and resource usage.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://{projectId}-{containerId}-cron-1.{server}.containers.hoody.com/health"
FieldTypeRequiredDescription
builtstring | nullNoBuild timestamp of the Cron service binary
fdsinteger | nullNoNumber of open file descriptors
ipstringYesIP address the service is bound to
memoryobject | nullNoMemory usage statistics (contains rss, and optionally heap)
pidintegerYesProcess ID of the running service
servicestringYesName of the service (cron)
startedstringYesISO 8601 timestamp marking when the service started
statusstringYesHealth status indicator
user_agentstring | nullNoIdentifier of the client or user agent making the request

Returns the OpenAPI specification for the Cron service in JSON format. Use this to generate client libraries or to explore the full service API surface.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://{projectId}-{containerId}-cron-1.{server}.containers.hoody.com/openapi.json"

Returns the OpenAPI specification for the Cron service in YAML format.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://{projectId}-{containerId}-cron-1.{server}.containers.hoody.com/openapi.yaml"