Official
API Development
Schedules periodic, recurring background tasks and batch jobs in Encore.ts applications using simple intervals or standard cron expressions.
Enables Claude to write, configure, and optimize scheduled tasks within Encore.ts backend applications. This skill guides the creation of package-level CronJob declarations, the mapping of schedules to secure, unexposed API endpoints, and the correct formatting of both simple intervals and standard UTC cron expressions. It helps developers enforce background task idempotency, handle UTC timezone conversions, and understand local vs. deployed runtime behaviors.
Key Features
01Ensures task security by enforcing private (unexposed) API endpoints
02Validates scheduling intervals to ensure they divide 24 hours evenly
0325 GitHub stars
04Advises on idempotency and production deployment execution rules
05Configures UTC-based standard cron expressions and simple interval schedules
06Generates package-level CronJob declarations linked to secure backend APIs
Use Cases
01Setting up hourly aggregation jobs for generating application metrics and reports
02Creating daily database cleanup and data pruning tasks running at midnight UTC
03Scheduling weekly automated batch syncs or email newsletter dispatches