{
  "manifest": {
    "spekkr": 1,
    "id": "vex/background-jobs",
    "name": "Background jobs",
    "summary": "A job queue in your own database: retries with backoff, scheduled and recurring jobs, and no job run by two workers at once.",
    "keywords": [
      "cron",
      "async",
      "tasks",
      "scheduler",
      "sidekiq",
      "celery"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "vex",
      "name": "Vex"
    },
    "targets": {
      "platforms": [
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "max_attempts",
          "label": "Attempts before a job is given up",
          "default": "5",
          "help": "A whole number, at least 1."
        },
        {
          "key": "concurrency",
          "label": "Jobs one worker runs at a time",
          "default": "5",
          "help": "A whole number, at least 1."
        }
      ],
      "options": [
        {
          "key": "recurring_jobs",
          "label": "Recurring jobs",
          "default": true,
          "help": "Jobs that run on a schedule, such as every night at 02:00."
        },
        {
          "key": "dashboard",
          "label": "Dashboard",
          "default": true,
          "help": "A page that shows what is waiting, running and failed."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/dashboard.png",
        "shots/login.png",
        "shots/forbidden.png",
        "shots/dashboard-mobile.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/background-jobs."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/dashboard-mobile.png": "files/shots/dashboard-mobile.png",
      "shots/dashboard.png": "files/shots/dashboard.png",
      "shots/forbidden.png": "files/shots/forbidden.png",
      "shots/login.png": "files/shots/login.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "vex",
  "uploaded": {
    "shots/dashboard-mobile.png": {
      "bytes": 78778,
      "type": "image/png"
    },
    "shots/dashboard.png": {
      "bytes": 148589,
      "type": "image/png"
    },
    "shots/forbidden.png": {
      "bytes": 85159,
      "type": "image/png"
    },
    "shots/login.png": {
      "bytes": 107995,
      "type": "image/png"
    }
  }
}
