from Hacker News

Show HN: Dagu v1.13.0

by yohamta on 5/26/24, 5:45 AM with 0 comments

Dagu is a lightweight workflow engine that replaces Cron. It comes with a full-featured Web UI. It allows you to define dependencies between commands as a DAG in declarative YAML format.

Features: - Install by only a single binary - Zero dependencies - No database is required - Built-in Web UI and API Details: https://dagu.readthedocs.io/en/latest/web_interface.html

Quickstart: https://dagu.readthedocs.io/en/latest/quickstart.html

New features: 1. Added run and params field Now you can modularize DAGs. You can run another DAG from a DAG by specifying the name: ```yaml steps: - name: running sub_dag run: sub_dag params: "FOO=BAR" ``` 2. Accept JSON list to specify command and args You can make the DAG to be more readable by using list notation for specifying complex arguments to a command: ```yaml steps: - name: step1 description: print current time command: [python, "-c", "import sys; print(sys.argv)", "argument"] ```