nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
802 stars 35 forks source link

Cron Triggers #172

Open fredgig opened 2 weeks ago

fredgig commented 2 weeks ago

I think having the ability to configure workers Cron Triggers via NuxtHub would be pretty neat.

More specifically, I'd like to have the ability to configure an API endpoint to be triggered via a Cron Trigger within my nuxt.config.ts.

Bonus points for a Cron Schedule page in the NuxtHub admin dashboard under the Server section in which we can view API endpoints that are configured to run, their scheduled times as well as their execution history.

More info can be found here in the Cron Triggers docs

What are your thoughts on this?

Atinux commented 2 weeks ago

Thanks for creating the issue @fredgig

Indeed we plan to support Crons as well as Queues (#135) but so far we are still waiting for Cloudflare Pages to support Crons as they are currently supported only in Workers.