You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
curl --request GET "https://hostname:8443/api/core/cron/definitions" \
--header "Accept: application/json"
curl --request GET "https://hostname:8443/api/core/cron/definitions/echo_date" \
--header "Accept: application/json"
Get one definition status
Endpoint
Method
/core/cron/definitions/:id/status
GET
Headers
Header
Value
Accept
application/json
Path variables
Variable
Description
id
Identifier of the cron definition
Example
curl --request GET "https://hostname:8443/api/core/cron/definitions/echo_date/status" \
--header "Accept: application/json"
Add one or several cron definitions
Endpoint
Method
/core/cron/definitions
POST
Headers
Header
Value
Accept
application/json
Content-Type
application/json
Body
Key
Value
id
ID of the definition
timespec
Cron-like time specification
command
Action/event to call at job execution
parameters
Parameters needed by the called action/event
keep_token
Boolean to define whether or not the ID of the definition will be used as token for the command
[
{
"id": "<id of the definition>",
"timespec": "<cron-like time specification>",
"command": "<action/event>",
"parameters": "<parameters for the action/event>",
"keep_token": "<boolean to keep id as token>"
}
]
{
"id": "<id of the definition>",
"timespec": "<cron-like time specification>",
"command": "<action/event>",
"parameters": "<parameters for the action/event>",
"keep_token": "<boolean to keep id as token>"
}