background-jobs
Comprehensive guidance for background processing in the Mossback platform. Covers jobs, workers, queues, schedules, cron expressions, retries, backoff, dead letters, idempotency, concurrency limits, t
SKILL.mdskills/agent-skills-creator/evals/fixtures/crowded-skill-listing/base/.agents/skills/background-jobs/SKILL.md
GitHubBackground Jobs
Rules
- Jobs live in
src/jobs/<name>.tsand are registered insrc/jobs/index.ts. - The queue delivers at least once. Every job is safe to run twice.
- Enqueue after the database transaction commits, never inside it.
- Replay a dead job with
pnpm jobs:replay <id>; it refuses jobs older than seven days.