cron
هذا المحتوى غير متوفر بلغتك بعد.
Cron Plugin
Section titled “Cron Plugin”Cron job scheduler with HTTP callbacks and Postgres-backed job queue. Free: MIT licensed.
Install
Section titled “Install”nself plugin install cronWhat It Does
Section titled “What It Does”Schedules recurring tasks using standard cron syntax. Jobs fire HTTP callbacks to any endpoint in your stack. Job history, status, and failures are stored in Postgres. For distributed locks, a visual dashboard, and failure alerts, see plugin-cron-pro.
Configuration
Section titled “Configuration”| Env Var | Default | Description |
|---|---|---|
CRON_PORT | 3051 | Cron service port |
CRON_SECRET | (auto-generated) | Internal auth secret |
CRON_MAX_RETRIES | 3 | Max retries on callback failure |
| Port | Purpose |
|---|---|
| 3051 | Cron service REST API |
Database Tables
Section titled “Database Tables”2 tables added to your Postgres database:
np_cron_jobs: job definitions and schedulesnp_cron_runs: execution history and status
Nginx Routes
Section titled “Nginx Routes”None, cron service is internal only.
GET /health: Health checkGET /jobs: List all jobsPOST /jobs: Create a jobDELETE /jobs/{id}: Delete a jobGET /runs: Job execution history