AWS EventBridge Scheduler, Google Cloud Scheduler, and EasyCron all store the expression, the target URL, and often a bearer token outside your VPC. You pay per invocation or per job cap. Latency includes a hop from their region to yours. When the rule is deleted in the console, the history goes with it.
NexusCron inverts that. The scheduler is a Docker service on the same machine (or the same private network) as the job. SQLite holds definitions and run rows. HTTP fires locally. One payment for NexusCron.
Why self-hosting wins on architecture
Same-host fire
No public ingress required for internal jobs. The ping never leaves the box.
Disk is the source of truth
Jobs and logs are files you rsync. Cloud consoles are not a backup.
No invocation tax
Five-minute health checks do not belong on a metered EventBridge rule.
Docker Compose
Deploy next to the app the jobs call. Secrets stay in cron.env.
services:
nexuscron:
image: nexuscron:latest
restart: unless-stopped
ports:
- "127.0.0.1:8787:8787"
environment:
TZ: UTC
NEXUSCRON_DATA: /data
NEXUS_TELEMETRY: "off"
CRON_ADMIN_TOKEN: ${CRON_ADMIN_TOKEN}
volumes:
- ./data:/data
- ./jobs.json:/app/jobs.json:ro
- ./cron.env:/run/secrets/env:roMap cloud rules to jobs.json
Keep the same cadence. Point HTTP at loopback when the worker is local.
{
"jobs": [
{
"id": "was-eventbridge-invoice-sweep",
"cron": "0 */6 * * *",
"timezone": "UTC",
"http": {
"url": "http://127.0.0.1:8080/jobs/invoice-sweep",
"method": "POST",
"headers": { "Authorization": "Bearer ${INTERNAL_JOB_TOKEN}" }
},
"retry": { "max": 3, "backoff_ms": 5000 }
},
{
"id": "was-cloud-scheduler-health",
"cron": "*/5 * * * *",
"http": {
"url": "https://app.yourdomain.com/internal/health",
"method": "GET"
}
}
]
}Cutover
- Export every cloud timer (expression, URL, headers, timezone).
- Compose up NexusCron. Hit /health.
- Load jobs.json. Run one job immediately.
- Dual-run one interval if the endpoint is idempotent.
- Disable the EventBridge rule, Cloud Scheduler job, or EasyCron entry.
# Inventory EventBridge / Cloud Scheduler / EasyCron, then: curl -sS http://127.0.0.1:8787/health curl -sS -X POST http://127.0.0.1:8787/api/jobs/was-cloud-scheduler-health/run \ -H "Authorization: Bearer $CRON_ADMIN_TOKEN" # Dual-run one interval, then disable the cloud rule.
Product page: NexusCron Self-Hosted Task Scheduler. Related: self-hosted cron setup.
