action combell_configure_scheduled_task {
label: "Configure a scheduled task"
provider: combell
method: PUT
path: "/linuxhostings/{domainName}/scheduledtasks/{scheduledTaskId}"
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."
}
scheduledTaskId: {
type: "string"
}
scheduled_task_id: {
type: "string"
description: "Id of the scheduled task."
}
script_location: {
type: "string"
description: "Absolute path from this linux hosting to execute."
}
}
required: ["domainName", "domain_name", "scheduledTaskId", "scheduled_task_id"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}