Create or update a scheduled task
create_taskRegister a schedule against a destination you have already verified. Idempotent on "name": the same name updates the existing task instead of creating a second one. Creating costs nothing; each delivery ATTEMPT costs one credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The https:// destination. It must already be registered and verified — see register_destination. | |
| body | No | The body we send. Stored in the clear, so it must not carry credentials. A non-string is serialized as JSON. | |
| cron | Yes | 5 fields, UTC only, one minute at the finest. Operators: * a-b a,b */n a-b/n. Names: SUN-SAT (day), JAN-DEC (month). Macros: @yearly @annually @monthly @weekly @daily @midnight @hourly. Day-of-week is 0-6 with 0 = Sunday; 7 also means Sunday. Write days as names (MON-FRI). Numbers differ between schedulers: Quartz, AWS EventBridge and Cloudflare number Sunday as 1, we and croniter as 0. Translated for you: "?". "?" as a whole day-of-month or day-of-week field becomes "*". A NUMERIC day-of-week next to "?" is refused, because "?" means the expression was written where Sunday is 1. Refused: Quartz L, Quartz W, Quartz #, six fields (seconds), seven fields (year), @reboot, @every, CRON_TZ= prefixes, time zones of any kind — each with a code saying what to send instead. | |
| name | Yes | Your name for the task. Unique among your live tasks; creating with an existing name updates it. | |
| method | No | HTTP method of the delivery. Default POST. GET and HEAD carry no body. | |
| headers | No | Headers we send with the delivery. Stored ENCRYPTED at rest — put credentials here, never in the body. | |
| timeoutMs | No | How long we wait for your server, 250-2000 ms. Answer 202 and do the work behind it. |