Workflow gets stuck in Task Manager after execution via Windows Task Scheduler

Hi @Tobias_Grein,

here is my shell script to execute Knime via batch mode. Please note that application is triggered w/o exe since it’s running on Linux.

#!/bin/bash
cd /PATH-TO-KNIME-APP/
./knime -consoleLog -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -reset -nosave --launcher.suppressErrors -workflowDir=/PATH-TO knime-workspace-WITH-escaped\ spaces
./knime -consoleLog -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -reset -nosave --launcher.suppressErrors -workflowDir=/NEXT-WORKFLOW-TO-EXECUTE

In case you’d like to log the errors you’ve got to use the corresponding instructions. I am explicitly not logging them as the log level with warning contains too much noise.

Maybe worth to read some of the more advanced examples like this.

Hope this helps …

Cheers
Mike