As KNIME has recently announced that in the future Batch Execute will no longer be supported, I wanted to try out the alternative solution offered by NodePit. And it turns out it was quite easy to implement.
here is the link to the NodePit web where you can find the installation instructions.
I have tried it out on my Cryptocurrency trading agent . I am running this on an Ubuntu Linux system. Below the 'before' and 'after' versions of the shell scripts. (OrderAgentFast2 being my Workflow .KNWF file)
Before:
#!/bin/bash
export DISPLAY=:0
/root/knime_5.9.0/knime -nosave -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="/root/knime-workspace/batchexecute/OrderAgentFast2"
After:
#!/bin/bash
export DISPLAY=:0
/root/knime_5.9.0/knime \
-nosplash \
-application com.nodepit.batch.application.NodePitBatchExecutor "/root/knime-workspace/batchexecute/OrderAgentFast2"