Executors

Executors

Executors plugins are the main mechanism of execution in Dkron. They implement different “types” of jobs in the sense that they can perform the most diverse actions on the target nodes.

For example, the built-in shell executor, will run the indicated command in the target node.

New plugins will be added, or you can create new ones, to perform different tasks, as HTTP requests, Docker runs, anything that you can imagine.

Dkron Pro have commercially supported executors

Add this to a job definition to use the shell executor:

{
  "executor": "shell",
  "executor_config": {
    "command": "echo \"Hello from dkron\""
  }
}

Refer to the API documentation for params accepted by the shell executor.