What problem does it solve?
This Skill provides a comprehensive guide for authoring Dagu workflows, enabling users to define, schedule, and execute complex task sequences. It simplifies orchestration of diverse tasks, from simple shell commands to Docker containers and remote SSH executions, ensuring reliable automation.
Core Features & Use Cases
- Workflow Definition: Master Dagu's YAML syntax for defining steps, dependencies, environment variables, parameters, and scheduling (cron).
- Diverse Executors: Utilize various executors including
command (shell), docker, ssh, http, mail, and jq for flexible task execution.
- Advanced Control Flow: Implement step dependencies for parallel or sequential execution, conditional logic, error handling with retries, and sub-workflows for modularity.
- Use Case: To automate a daily ETL pipeline, define a Dagu workflow with
extract, transform, and load steps, using Docker executors for data processing, scheduling it with cron, and configuring email alerts on failure.
Quick Start
Create a Dagu workflow named 'hello.yaml' that has a single step named 'greet' which simply echoes "Hello from Dagu!".