Back to services

Dagu

Powerful Cron alternative with a Web UI. It allows you to define dependencies between commands as a Directed Acyclic Graph (DAG) in a declarative YAML format.

View alternatives to Dagu
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Dagu is a powerful Cron alternative that comes with a built-in Web UI. It uses a declarative workflow language (YAML) to define dependencies between commands as a directed acyclic graph (DAG), turning scattered scheduled scripts into clearly structured workflows that are easy to manage visually.

The official design goals are to be easy to use, self-contained, and require no coding, which makes it especially well suited to small and medium-sized projects.

Key Features

  • DAG dependency orchestration: Declare the dependencies between steps in YAML, and Dagu runs the tasks in dependency order.
  • Declarative YAML workflow language: No program code needed; a configuration file is enough to describe an entire workflow.
  • Web UI: View, manage, and monitor workflows and their run status in the browser.
  • Native Docker support: Workflow steps can run Docker containers directly.
  • HTTP requests: Steps can make HTTP calls directly, making it easy to integrate with web services and APIs.
  • Remote execution over SSH: Run commands on remote hosts via SSH.
  • Command-line interface (CLI): A complete command-line tool for starting, managing, and operating workflows.

Target Users and Use Cases

  • Developers and operations staff who want to replace the traditional crontab while gaining a visual interface and dependency management;
  • Small teams that need to orchestrate multi-step tasks such as data processing, ETL, and backups;
  • Users who want to chain together local commands, containers, HTTP endpoints, and remote host operations with simple configuration.

Core Strengths

  • Low barrier to entry: Workflows are declared in YAML, so there is no complex programming framework to learn.
  • Self-contained: By design it doesn't depend on complex external components, so deployment and maintenance are fairly lightweight.
  • More intuitive than Cron: Task dependencies, execution status, and history can all be viewed in the Web UI.
  • Diverse execution methods: Shell commands, Docker containers, HTTP requests, and remote SSH commands can all go into the same workflow.

Installation and Usage

The official documentation covers the following:

  1. Installation: Installation instructions;
  2. Quick Start Guide: A guide to getting started quickly;
  3. Command Line Interface: Command-line reference;
  4. Workflow Language (YAML): Workflow syntax reference;
  5. Examples: Workflow examples;
  6. Configurations: Description of configuration options.

For specific installation methods and configuration, please refer to the official documentation at https://dagu.readthedocs.io/.

Notable Characteristics

  • It is positioned as a lightweight workflow engine suited to small and medium-sized projects, and does not aim for the complexity of a large distributed scheduling platform;
  • Workflows are stored as YAML files, making them easy to put under version control.