CronTask
CronTask 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 optionalidstring requiredsite_idstring requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
Used by
| GET | /api/v1/tenants/{tid}/sites/{id}/cron | A website's scheduled tasks (ADR 0048) |
| 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 |