Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle cron triggers? #7

Open
Boscop opened this issue Aug 31, 2024 · 0 comments
Open

How to handle cron triggers? #7

Boscop opened this issue Aug 31, 2024 · 0 comments

Comments

@Boscop
Copy link

Boscop commented Aug 31, 2024

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? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant