Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created September 7, 2023 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anna-geller/2568273849288e35b8efc38a8174c31d to your computer and use it in GitHub Desktop.
Save anna-geller/2568273849288e35b8efc38a8174c31d to your computer and use it in GitHub Desktop.
id: shell
namespace: dev
description: this flow shows how to pass files between tasks.
tasks:
- id: t1
type: io.kestra.plugin.scripts.shell.Commands
commands:
- touch abc
- id: t2
type: io.kestra.plugin.scripts.shell.Commands
commands:
- touch abcd
- id: t3
type: io.kestra.plugin.scripts.shell.Commands
commands:
- ls -ltr abcde
triggers:
- id: schedule
type: io.kestra.core.models.triggers.types.Schedule
cron: "*/2 * * * *"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment