I would need my stream to be updated every 15 minutes, is there any loop node? Where can we select the period that should start each update?
- Knime Server has an execution timer.
- Create batch file and run from Task Scheduler.
Is there any way to run KNIME in batch mode, i.e. only on command line and without the graphical user interface?
There is a command line option allowing the user to run KNIME in batch mode. To see a list of possible arguments execute the following line on a command prompt (for Linux):
knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION
On Mac the executable is not directly located in the KNIME application directory but in a sub folder of the application bundle:
-nosplash -application org.knime.product.KNIME_BATCH_APPLICATION
On a Windows system, you need to add two more options to enable system messages (by default any message to System.out is suppressed):
knime.exe -consoleLog -noexit -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION
Causes a new window to be opened containing the log messages and will keep the window open after the execution has finished. You will need to close the window manually and an error message is produced from the Java process which you can safely ignore. (If you happen to find out how this procedure can be avoided or simplified, please let us know.)
If this is specified, then the launcher will not display a message box with errors if a problem was encountered. This allows the launcher to be used in unattended tests or builds without blocking on an error.
If this is specified, the workflow is not saved after execution has finished.
Path to the file containing eclipse/knime preferences.
Reset workflow prior to execution.
If you pass no options, all available options will be listed.
In order to run a workflow, named “Knime_project” contained in the workspace directory, execute in one line:
knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=
In order to run a workflow, name “Knime_project.zip” exported as an .zip file, execute in one line:
knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile=
It’s also possible to change the configuration of the workflow through workflow variables. If a variable is defined for a workflow, you can use it in batch mode by referring to it using a comma separated triplet to specify the name, value and type like this:
3. Try Nodepit Ruuner. I have no experience with this method.
@Gabriel2020 you might want to take a look at this debate and the examples:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.