تخطَّ إلى المحتوى

cron

هذا المحتوى غير متوفر بلغتك بعد.

Cron job scheduler with HTTP callbacks and Postgres-backed job queue. Free: MIT licensed.

Terminal window
nself plugin install cron

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.

Env VarDefaultDescription
CRON_PORT3051Cron service port
CRON_SECRET(auto-generated)Internal auth secret
CRON_MAX_RETRIES3Max retries on callback failure
PortPurpose
3051Cron service REST API

2 tables added to your Postgres database:

  • np_cron_jobs: job definitions and schedules
  • np_cron_runs: execution history and status

None, cron service is internal only.

GET /health: Health check
GET /jobs: List all jobs
POST /jobs: Create a job
DELETE /jobs/{id}: Delete a job
GET /runs: Job execution history