qStash scheduled-db-updates example
This is an example of using qStash to trigger Next.js serverless functions to fetch updates from an external API using CRON schedules
The api route
/api/cron is triggered every 10 minutes by qStash and loads data into our database. On this page you can see the aggregated data.
Bitcoin price in USD over time