jobs
هذا المحتوى غير متوفر بلغتك بعد.
Jobs Plugin
Section titled “Jobs Plugin”Background job queue with BullMQ-style dispatch and a built-in dashboard. Free: MIT licensed.
Install
Section titled “Install”nself plugin install jobsWhat It Does
Section titled “What It Does”Provides a Redis-backed job queue for background processing. Supports priority queues, delayed jobs, retries with exponential backoff, and job deduplication. Includes a web dashboard for monitoring queue depth and job status.
Dependencies
Section titled “Dependencies”Requires Redis (REDIS_ENABLED=true in your .env).
Configuration
Section titled “Configuration”| Env Var | Default | Description |
|---|---|---|
JOBS_PORT | 3105 | Jobs service port |
JOBS_CONCURRENCY | 5 | Workers per queue |
JOBS_MAX_RETRIES | 3 | Max retry attempts |
JOBS_RETRY_DELAY | 60 | Seconds between retries |
| Port | Purpose |
|---|---|
| 3105 | Jobs service REST API and dashboard |
Database Tables
Section titled “Database Tables”2 tables added to your Postgres database:
np_jobs_definitions: registered job typesnp_jobs_history: completed/failed job records
Nginx Routes
Section titled “Nginx Routes”| Route | Target |
|---|---|
/jobs-dashboard/ | Job queue dashboard UI |
GET /health: Health checkPOST /jobs: Enqueue a jobGET /jobs/{id}: Get job statusDELETE /jobs/{id}: Cancel a jobGET /queues: List queues and depths