Set or update a cron trigger
set_cronSet or update a cron trigger on a site's deployed function. Schedule is crontab syntax (UTC). Path is the URL the cron handler should fire on (for the worker's scheduled() handler context).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | URL path the cron handler fires on | |
| slug | Yes | site slug whose function gets the cron | |
| schedule | Yes | crontab schedule in UTC, e.g. "0 * * * *" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |