Background tasks
Trigger.dev, Upstash QStash, BullMQ, or none, with example jobs for email, webhooks, and reports.
Configuration
typescript
tasks: {
provider: "trigger" | "qstash" | "bullmq" | "none",
},
Example jobs
- Send welcome email after signup
- Process payment webhook side effects
- Generate weekly revenue reports for admin dashboards
Cron
Schedule recurring jobs through your provider’s scheduler or platform cron hitting secured endpoints.
Keep webhook HTTP handlers fast by enqueueing work instead of doing heavy IO inline.