Open Boscop opened 3 months ago
Thanks for this example repo :)
Cloudflare workers have the ability to not just be called based on incoming HTTP requests but also based on cron triggers: https://developers.cloudflare.com/workers/configuration/cron-triggers/ https://developers.cloudflare.com/workers/examples/multiple-cron-triggers/
In JS this can easily be done by having an exported function named scheduled that gets called for cron triggers.
scheduled
How can I handle cron triggers in a Rust/leptos based app, based on this template? :)
Thanks for this example repo :)
Cloudflare workers have the ability to not just be called based on incoming HTTP requests but also based on cron triggers: https://developers.cloudflare.com/workers/configuration/cron-triggers/ https://developers.cloudflare.com/workers/examples/multiple-cron-triggers/
In JS this can easily be done by having an exported function named
scheduled
that gets called for cron triggers.How can I handle cron triggers in a Rust/leptos based app, based on this template? :)