Kill a knime workflow via BAT

batch
#1

Dear all,
is there a way to kill a Knime Workflow that is running using a BAT file without killing the overall Knime.exe? Let’s imagine I have the workflows A and B that are running. How can I kill only the workflow B using a BAT file (keeping running the workflow A)?

Thanks
Regards

0 Likes

#2

Any news on this?
Thanks
Regards

0 Likes

#3

There is no way to communicate to a currently running KNIME AP application that it should execute an action (e.g run node X, cancel all node executions, etc…)

0 Likes

#4

Thank you for your answer. I do not want to kill specific nodes but I would like to kill a specific workflow. Is this possible?
Let’s imagine I have the workflow A and the workflow B that are running. How can I kill only the workflow B using a BAT file (keeping running the workflow A)?

0 Likes

#5

Yes - there is no way to talk to a currently running KNIME instance, and really no way to affect it other than killing the process via your OS’s prescribed manner (e.g kill on Linux or macOS;) it doesn’t have some sort of RPC service running - which would admittedly be a nice idea.

0 Likes

#6

Ok, thank you very much.

0 Likes