action combell_add_scheduled_tasks {
label: "Add a scheduled task"
provider: combell
method: POST
path: "/linuxhostings/{domainName}/scheduledtasks"
encoding: json
input: {
type: "object"
properties: {
cron_expression: {
type: "string"
description: "Cron expression of scheduled task.
\n5-digit expressions (*/5 * * * *) are required in the following sequence:
- Minute (0 - 59, also */5, */10, */15 and */30 as every 5 minutes, every 10 minutes, every quarter or every half-hour are allowed)
- Hour (0 - 23, also * as every hour is allowed)
- Day of the month (1 - 31, also * as every day is allowed)
- Month (1 - 12 as January to December, also * as every month is allowed)
- Day of the week (1 - 7 as Monday to Sunday, also * as every day is allowed)
"
}
domainName: {
type: "string"
}
domain_name: {
type: "string"
description: "Linux hosting domain name."
}
enabled: {
type: "boolean"
description: "Enabled."
}
id: {
type: "string"
description: "The id of the scheduled task.
\nThis value is ignored for creation of new scheduled tasks."
}
script_location: {
type: "string"
description: "Absolute path from this linux hosting to execute."
}
}
required: ["domainName", "domain_name"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}