Batch file in MacOS opens KNIME, but doesn't execute workflow

I’ve created the following script for MacOS to execute fully a simple workflow; however, the script opens KNIME application, but it doesn’t open nor execute the workflow. What is missing to initiate execution from the batch file?

#!/bin/bash
/Applications/KNIME\ 5.3.3.app/Contents/MacOS/knime -nosplash application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“/Users/myUserName/knime-workspace/automation_run_test”

I’ve also tried with other variations of the workflowDir, including specifying it for the knwf file and using workflow= instead of workflowDir=. None work for executing the workflow.

@dbhans your call might miss some parameters. Also you have to make the script executable.

Maybe you take a look at this article

1 Like