Running the binary Download the packaged archive for your platform from the downloads page and extract the package to a shared location in your drive, like /opt/local/bin. Run Dkron with default setting: dkron agent --server --bootstrap-expect=1 Navigate to http://localhost:8080/ui Installing the package Debian repo APT repository: deb [trusted=yes] https://repo.distrib.works/apt/ / Then install: sudo apt-get install dkron YUM repo YUM repository: [dkron] name=Dkron Pro Private Repo baseurl=https://repo.distrib.works/yum/ enabled=1 gpgcheck=0 Then install: sudo yum install dkron
Introduction Dkron nodes can work in two modes, agents or servers. A Dkron agent is a cluster member that can handle job executions, run your scripts and return the resulting output to the server. A Dkron server is also a cluster member that send job execution queries to agents or other servers, so servers can execute jobs too. The main distinction is that servers order job executions, can be used to schedule jobs, handles data storage and participate on leader election.
Configuration sources Settings can be specified in three ways (in order of precedence): Command line arguments. Environment variables starting with DKRON_ dkron.yml config file Note: Dkron sends anonymous usage data to a server with the purpose of elaborating usage statistics, if you want to disable statistics collection, you can disable it in the dkron config file or in the command line using --disable-usage-stats parameter Config file location Config file will be loaded from the following paths: