talira

Distributed, fault tolerant cron job scheduler with a web UI and REST API

open coreLGPL-3.0self-hostablefree

Dkron is a distributed cron service: it runs scheduled jobs like Unix cron, but across a cluster of machines with no single point of failure. Servers elect a leader with the Raft protocol and nodes find each other with Serf's gossip protocol, so if the leader fails a follower takes over without intervention. Jobs target nodes by tag, with a count of how many nodes in a group should run them, and support retries, chaining (dependent jobs), concurrency control and metrics, with an embedded storage engine. It has a web dashboard, a JSON REST API, and executor and processor plugins for how jobs run and where their output goes. Written in Go; runs on Linux, macOS and Windows, with apt and yum packages and a Docker image. The open source edition is LGPL-3.0; Dkron Pro, sold by Distributed Works, adds authentication, access control, encryption, Docker and AWS ECS executors, Slack, email and Elasticsearch processors and cross-region failover.

Problems it solves

  • run cron jobs across a cluster without a single point of failure
  • schedule recurring jobs with a web UI and API instead of crontab on one server
  • run a scheduled job on a chosen number of servers selected by tag
  • chain scheduled jobs so one runs after another

Features

  • distributed cron with no single point of failure (Raft leader election)
  • tag-based target node selection with node counts
  • job retries, chaining and concurrency control
  • web UI and JSON REST API
  • executor and processor plugins
  • embedded storage engine
  • metrics
  • Pro: web UI and API authentication, access control, encryption
  • Pro: Docker and AWS ECS executors; Slack, email and Elasticsearch processors
  • Pro: cross-region failover

Ways to run it

Dkron (open source)

You run it, LGPL-3.0

free1

Not included

  • authentication and access control
  • encryption
  • Docker and AWS ECS executors
  • cross-region failover

You arrange

  • servers to run the cluster

Self-hosting docs

Dkron Pro

You run it, under a commercial licence

$450 a year12

Only in this edition

  • web UI and API authentication
  • access control
  • encryption
  • Docker and AWS ECS executors
  • Slack, email and Elasticsearch processors
  • cross-region failover
  • email support

You arrange

  • servers to run the cluster

Self-hosting docs

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Dkron does.

  1. Kala Simplistic, modern and performant job scheduler written in Go
  2. Cronicle A simple, distributed task scheduler and runner with a web based UI
  3. Cronmaster A modern web UI for managing cron jobs and scripts
  4. xyOps Job scheduling, visual workflows, server monitoring, alerting and incident response

Compare Dkron with the top 3