CronInput
CronInput objectnamestring requiredschedulestring requiredFive-field cron: minute hour day month weekday, or @daily etc.
kindstring requiredAllowed values:"command""url"programstring optionalAllowed values:"php""node""python""file"versionstring optionalNode or Python version for those programs
pathstring optionalScript or file, relative to the website's folder
argsarray<string> optionalurlstring optionaltimeout_secondsinteger optionalenabledboolean optional
Used by
| POST | /api/v1/tenants/{tid}/sites/{id}/cron | Add a scheduled task; it runs as the website's own identity |
| PUT | /api/v1/tenants/{tid}/sites/{id}/cron/{task} | Change a scheduled task |