v1

latestOpenAPI 3.0.42026-07-137589157.3 KB
Linux hostings

Configure a scheduled task

put/linuxhostings/{domainName}/scheduledtasks/{scheduledTaskId}

Path parameters

domain_namestring required

Linux hosting domain name.

scheduled_task_idstring required

Id of the scheduled task.

Request body

idstring

The id of the scheduled task.

This value is ignored for creation of new scheduled tasks.

enabledboolean

Enabled.

cron_expressionstring

Cron expression of scheduled task.

5-digit expressions (*/5 * * * *) are required in the following sequence:

<ul><li>Minute (0 - 59, also */5, */10, */15 and */30 as every 5 minutes, every 10 minutes, every quarter or every half-hour are allowed)</li><li>Hour (0 - 23, also * as every hour is allowed)</li><li>Day of the month (1 - 31, also * as every day is allowed)</li><li>Month (1 - 12 as January to December, also * as every month is allowed)</li><li>Day of the week (1 - 7 as Monday to Sunday, also * as every day is allowed)</li></ul>
script_locationstring

Absolute path from this linux hosting to execute.

Response

No Content