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

[FEATURE] Workers scheduled #446

Open
2 tasks done
keiko233 opened this issue Mar 10, 2025 · 2 comments
Open
2 tasks done

[FEATURE] Workers scheduled #446

keiko233 opened this issue Mar 10, 2025 · 2 comments
Labels
enhancement New feature or request triage

Comments

@keiko233
Copy link

keiko233 commented Mar 10, 2025

Is your feature request related to a problem?

Can we support Cloudflare Workers scheduled?

Describe the solution you'd like

Using any method to support Cloudflare Workers scheduled.

Describe alternatives you've considered

I tried rewriting the route to implement it, but it doesn't seem to work. It requires using the scheduled() func.

Image

links:

@opennextjs/cloudflare version

0.5.9

Additional context

No response

Before submitting

  • I have checked that there isn't already a similar feature request
  • This is a single feature (not multiple features in one request)
@keiko233 keiko233 added enhancement New feature or request triage labels Mar 10, 2025
@keiko233
Copy link
Author

I just thought of the simplest way—maybe we can handle the workers scheduled issue like Vercel Cron by manually fetching /api/cron through export scheduled.

Image

link: https://vercel.com/docs/cron-jobs

@pwalczyszyn
Copy link

pwalczyszyn commented Apr 6, 2025

Also another cool thing to have would be support for queue consumer: https://developers.cloudflare.com/queues/configuration/javascript-apis/#consumer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

2 participants