
9/28/2020 · Aaron Lisman
What this post added
Introduced Cron Triggers for Cloudflare Workers, enabling scheduled execution of Workers. This involved developing a new service in core to distribute schedules to an edge service via Quicksilver, a database record system for schedules, and a new edge service to poll for schedule changes and trigger Workers. A new 'scheduled' event type was added to the Worker API, along with new APIs for managing schedules (PUT/GET /workers/scripts/:name/schedules). The execution of schedules is handled by a Rust service deployed via Nomad, utilizing Cap'n Proto RPC for communication with the runtime and a custom nom-based cron parser.