Workflow not running in command line, only Knime application opens

Adding my two cents too. I struggled running Knime in Batch mode first, too. I creataed a bash script and scheduled it via cron on an AWS Linux Workspaace like so:

#!/bin/bash

cd /ptah/to/knime-app-directory

./knime -consoleLog -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -reset -nosave --launcher.suppressErrors -workflowDir=/path-to-workflow-to-execute-wiith-spaces-escped/like\ so

A commaand examaple from @mlauber71 on Windows looks like this:

C:\Program Files\KNIME\knime.exe" -nosave -consoleLog -noexit -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="C:\Users\mfarran\knime-workspace\test

Disappointingly, the new documentation is void of that part:
https://docs.knime.com/

But, thanks to the awesome Wayback Machine, it’s not lost!

@ScottF do you happen to know why the FAQ seems to not contain previously existing FAQ information?

Cheers
Mike

1 Like