I’m running into issues when trying to execute a script on an EC2 instance through the terminal window. While I have Knime properly configured to run workflows automatically via crontab at specific times, certain workflows are generating an error message if they take too long to complete. Here is the command I’m running:
Yes I have, and some of them work correctly, some of them don’t. Could it be related to some nodes being deprecated? Or to the process being too long or memory consuming?
This might depend on what nodes you are using and how much memory you have assigned to KNIME (in case your workflows consume a lot)
Note: I am guessing I do not know just try to help here
br
Maybe you can try running the workflow from the Analytics Platform instead of batch as a test? It sounds like one ore more of the nodes are failing at some point.
Thank you Daniel and Scott for your responses.
I have a GUI installed on my EC2, so what I did was to remove the “-reset” from the command I mentioned earlier and simply execute:
The workflow does not reset when executed, so I could satisfy myself that it had actually correctly run by opening Knime on the GUI. I guess the error exit code is due to Knime trying to open a window in the terminal and failing to do so because there is nothing to support that. But in any case I realised that there is no problem with the workflows up until they finish executing. It’s not exactly a solution, but a way around the problem
Thanks again! I’ll post on this topic if I figure out more about this error code.
Cheers,
Berti