wasp-jobs
CommunityAutomate background tasks, keep apps responsive.
AuthorToonVos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables the implementation of asynchronous background jobs and scheduled tasks in Wasp applications, offloading long-running operations from the main request cycle. It ensures application responsiveness and reliability for tasks like email sending, data processing, and recurring reports.
Core Features & Use Cases
- PgBoss Integration: Leverages PgBoss for robust job queuing, scheduling (cron), and retry mechanisms, requiring PostgreSQL.
- Asynchronous Task Execution: Guides on defining and implementing job functions that run independently, preventing UI freezes and timeouts.
- Programmatic & Scheduled Triggers: Explains how to trigger jobs from Wasp actions or schedule them using cron expressions for recurring tasks.
- Use Case: Set up a Wasp job called
emailSenderthat sends a welcome email to new users. This Skill will guide you to define the job, implement its function, and trigger it from yoursignupaction, ensuring emails are sent reliably in the background.
Quick Start
Set up a Wasp job called emailSender that sends a welcome email to new users. Schedule it to run immediately after a user signs up.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wasp-jobs Download link: https://github.com/ToonVos/empty-opensaas/archive/main.zip#wasp-jobs Please download this .zip file, extract it, and install it in the .claude/skills/ directory.