command.yaml 555 B

12345678910111213141516171819
  1. # Kestra Python Command Template
  2. # ---
  3. #
  4. # This template is a simple Python script.
  5. #
  6. # usage:
  7. # make sure the Kestra instance can access the /app/scripts/your-python-script.py file
  8. # if you're running Kestra in Docker, use a volume to mount the file/directory.
  9. id: python-command
  10. namespace: # your-namespace
  11. tasks:
  12. - id: python_command
  13. type: io.kestra.plugin.scripts.python.Commands
  14. commands:
  15. - python /app/scripts/your-python-script.py
  16. runner: PROCESS # or DOCKER (might be deprecated in the future) use TaskRunner instead