command.yaml 558 B

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