Railway

Deploy easy-cron

A distributed cron job scheduler

Deploy easy-cron

Just deployed

Deploy and Host easy-cron on Railway

EasyCron is a distributed cron job scheduler with webhook delivery, written in Go. It allows applications to register time-based jobs via a REST API and receive HTTP webhook notifications when jobs fire according to their cron schedules. It includes HMAC-SHA256 signature verification, exponential backoff retries, and execution history tracking.

About Hosting easy-cron

Hosting EasyCron requires a PostgreSQL database for storing job definitions, schedules, execution records, and delivery attempts. The application runs as a single Docker container that exposes a REST API on port 8080. Configuration is handled through environment variables, with DATABASE_URL being the only required setting. Optional Redis integration enables execution analytics. The scheduler polls for due jobs at configurable intervals (default 30 seconds) and dispatches webhooks with automatic retry logic. Health checks are available at /health for orchestration platforms.

Common Use Cases

  • Scheduled webhook delivery - Trigger HTTP callbacks to your application endpoints on cron schedules with signature verification
  • Background job scheduling - Schedule recurring tasks like report generation, data syncs, backups, and maintenance jobs
  • Time-based workflow automation - Orchestrate notification delivery, cleanup tasks, or any workflow requiring reliable time-based triggers

Dependencies for easy-cron Hosting

  • PostgreSQL - Required for storing jobs, schedules, executions, and delivery attempts
  • Redis (optional) - For execution analytics and metrics tracking

Deployment Dependencies

Implementation Details

Required environment variables:

DATABASE_URL=postgres://user:password@host:5432/easycron
# Optional
REDIS_ADDR=redis:6379
HTTP_ADDR=:8080
TICK_INTERVAL=30s

Why Deploy easy-cron on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying easy-cron on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
smoothmq
A drop-in replacement for AWS SQS

poundifdef
View Template
Maildev
Ephemeral SMTP server for development purposes.

Six
View Template
Huey [Updated Feb ’26]
Huey [Feb ’26] (Run Background Tasks & Schedule Jobs) Self Host

shinyduo