Knowledge Base

Article ID: 195 - Last Modified:

Can I run KNIME workflows from the command line, without using the KNIME user interface ?

The commands are different for Linux/Mac and Windows, as illustrated below. For more information, see Running KNIME Workflows from the Command Line

Linux/Mac sample usage:

$SCHRODINGER/knime -batch -reset -workflowFile=path-to-workflow/Workflow.zip

Windows sample usage:

Open a Schrodinger Command Prompt from the Start menu, and type sh at the prompt. Submit a command with the following arguments:

C:/Schrodingerrelease/knime.bat -consoleLog -noexit -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile=C:/path-to-workflow/Workflow.zip

The argument -workflowDir may also be used. Under Windows, the arguments -consoleLog, -noexit, -nosplash, and
-application org.knime.product.KNIME_BATCH_APPLICATION replace the -batch argument that is used on Linux/Mac. Note the Unix-style forward slashes in the path.

Note, the Run Maestro node is not supported. Maestro will not open if there is a Run Maestro node in the workflow.

You can wrap a KNIME workflow in a Python script from Maestro, install it in Maestro and run it from Maestro. See Running KNIME Workflows from Maestro for details.

Back to Search Results

Was this information helpful?

What can we do to improve this information?


To ask a question or get help, please submit a support ticket or email us at help@schrodinger.com.
Knowledge Base Search

Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles