Check out Building a Data-Centric Culture at the ALMA Observatory on November 5th Read More

Shell scripts in a scenario

Level 1
Shell scripts in a scenario

Hello,

I am trying to execute a shell script in a scenario, attached is a screenshoot of the available steps.

Is there a way to execute a shell scripts in a scenario? And if not, what are the available alternatives?

0 Kudos
1 Reply
Dataiker
Dataiker

Hi @ObadaJab 

While there's no specific step to run a Shell command, you have a couple of options.

- execute inside of a Python snippet, using the code section step you already picked up on.

- in your flow create a shell recipe with a dummy output dataset. Then in your scenario you would choose a build step and select this dataset. The scenario will execute the shell recipe as part of the build.

Good luck!

0 Kudos