Favicon of Dkron

Dkron

Schedule jobs across multiple machines with a fault-tolerant system. Get a reliable, distributed cron service with an easy-to-use API and dashboard.

Run scheduled jobs in a distributed environment without worrying about a single point of failure. This workload automation service operates like a traditional cron system but is designed for modern, clustered applications. It ensures your scheduled tasks run reliably, even if a server node goes down. By using the Raft protocol, the system achieves true high availability with automatic leader election and failover, requiring no manual intervention.

Integrating with your existing workflows is straightforward thanks to a simple JSON API and an intuitive web-based dashboard for managing jobs.

Key capabilities include:

  • Fault-Tolerant Operation: Automatically handles node failures to ensure jobs are always executed.
  • Flexible Job Targeting: Use a powerful tag-based system to assign jobs to specific nodes or groups of nodes.
  • Job Chaining: Create complex workflows by linking jobs together.
  • Extensible Plugins: Supports custom executor and processor plugins to fit any environment.

It is an ideal solution for tasks like recurring invoicing, data consolidation for BI, payroll generation, and automated data transfers.

Directory Structure

dkron
dkron-data
.env
docker-compose.yml

docker-compose.yml

services:
  dkron:
    image: dkron/dkron:latest
    container_name: dkron
    command: agent --server --bootstrap-expect=1 --data-dir=/dkron.data
    ports:
      - "8080:8080"
      - "8946:8946"
      - "8946:8946/udp"
    volumes:
      - ./dkron-data:/dkron.data
    environment:
      - DKRON_ENCRYPT=${DKRON_ENCRYPT}
    restart: unless-stopped

.env

# 32-byte Base64 encoded key for Serf gossip encryption
# You can generate a valid key using the command: dkron keygen
DKRON_ENCRYPT=your_super_secret_base64_key_here=
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Dkron

Favicon

 

  
  
Favicon

 

  
  
Favicon