API referenceCron jobs
Delete a cron job
POST
Deletes a cron job and its run history. A run in progress is stopped.
Needs services.cron on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.
cookie
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$cronJobId*stringPanel-issued id.
Match
^[a-z0-9]{16}$Success.
application/json- response
curl -X POST 'https://example.com/api/v1/cron.delete' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "cronJobId": "string"}'Example Response
{}Create a cron job POST
Adds a scheduled command to a service. It runs in a one-off container from the service's image, with its env and volumes. Needs `services.cron` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
List a service's cron jobs GET
Lists the cron jobs of a service with their next run time and last result. Needs `services.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.