Pro CLI
dkron Professional distributed job scheduling system Synopsis Dkron is a system service that runs scheduled jobs at given intervals or times, just like the cron unix service but distributed in several machines in a cluster. If a machine fails (the leader), a follower will take over and keep running the scheduled jobs without human intervention. Options --config string config file (default is /etc/dkron/dkron.yml) -h, --help help for dkron SEE ALSO dkron agent - Start a dkron agent dkron doc - Generate Markdown documentation for the Dkron CLI.
dkron agent Start a dkron agent Synopsis Start a dkron agent that schedule jobs, listen for executions and run executors. It also runs a web UI. dkron agent [flags] Options --advertise-addr string Address used to advertise to other nodes in the cluster. By default, the bind address is advertised. The value supports go-sockaddr/template format. --advertise-rpc-port int Use the value of rpc-port by default --auto-tls Client TLS using generated certificates (default true) --bind-addr string Specifies which address the agent should bind to for network services, including the internal gossip protocol and RPC mechanism.
dkron doc Generate Markdown documentation for the Dkron CLI. Synopsis Generate Markdown documentation for the Dkron CLI. This command is, mostly, used to create up-to-date documentation of Dkron’s command-line interface for http://dkron.io/. It creates one Markdown file per command with front matter suitable for rendering in Hugo. dkron doc [flags] Options --dir string the directory to write the doc. (default "/tmp/dkrondoc/") -h, --help help for doc Options inherited from parent commands --config string config file (default is /etc/dkron/dkron.
dkron keygen Generates a new encryption key Synopsis Generates a new encryption key that can be used to configure the agent to encrypt traffic. The output of this command is already in the proper format that the agent expects. dkron keygen [flags] Options -h, --help help for keygen Options inherited from parent commands --config string config file (default is /etc/dkron/dkron.yml) SEE ALSO dkron - Professional distributed job scheduling system Auto generated by spf13/cobra on 26-Aug-2019
dkron leave Force an agent to leave the cluster Synopsis Stop stops an agent, if the agent is a server and is running for election stop running for election, if this server was the leader this will force the cluster to elect a new leader and start a new scheduler. If this is a server and has the scheduler started stop it, ignoring if this server was participating in leader election or not (local storage).
dkron raft Command to perform some raft operations Synopsis Command to perform some raft operations Options --cert-file string Path to the client server TLS cert file -h, --help help for raft --key-file string Path to the client server TLS key file --rpc-addr string gRPC address of the agent (default "127.0.0.1:6868") --trusted-ca-file string Path to the client server TLS trusted CA cert file Options inherited from parent commands --config string config file (default is /etc/dkron/dkron.
dkron raft list-peers Command to list raft peers Synopsis Command to list raft peers dkron raft list-peers [flags] Options -h, --help help for list-peers Options inherited from parent commands --cert-file string Path to the client server TLS cert file --config string config file (default is /etc/dkron/dkron.yml) --key-file string Path to the client server TLS key file --rpc-addr string gRPC address of the agent (default "127.0.0.1:6868") --trusted-ca-file string Path to the client server TLS trusted CA cert file SEE ALSO dkron raft - Command to perform some raft operations Auto generated by spf13/cobra on 26-Aug-2019
dkron raft remove-peer Command to list raft peers Synopsis Command to list raft peers dkron raft remove-peer [flags] Options -h, --help help for remove-peer --peer-id string Remove a Dkron server with the given ID from the Raft configuration. Options inherited from parent commands --cert-file string Path to the client server TLS cert file --config string config file (default is /etc/dkron/dkron.yml) --key-file string Path to the client server TLS key file --rpc-addr string gRPC address of the agent (default "127.
dkron version Show version Synopsis Show the version dkron version [flags] Options -h, --help help for version Options inherited from parent commands --config string config file (default is /etc/dkron/dkron.yml) SEE ALSO dkron - Professional distributed job scheduling system Auto generated by spf13/cobra on 26-Aug-2019