Icon

KNIME_​NodePit_​Batch_​MacOS

<p>Simple KNIME Batch processing on MacOS<br><br>Simple KNIME Batch processing on MacOS<br><br>This workflow is being called thru a KNIME batch process<br><br>KNIME Batch Processing on Windows and&nbsp;MacOS<br>https://medium.com/p/caacde067bd0</p><p></p><p>---</p><p><strong>NodePit Batch</strong></p><p><strong>Run your KNIME workflows headless</strong></p><p>https://nodepit.com/product/batch</p>

URL: Medium: KNIME Batch Processing https://medium.com/p/caacde067bd0
URL: NodePit Batch - Run your KNIME workflows headless https://nodepit.com/product/batch
URL: Simple KNIME NodePit Batch processing on Windows https://forum.knime.com/t/batch-execution-no-longer-supported/91773/17?u=mlauber71

Simple KNIME NodePit Batch processing on MacOS

https://forum.knime.com/t/batch-execution-no-longer-supported/91773/17?u=mlauber71

This workflow is being called thru a KNIME NodePit Batch process

KNIME Batch Processing on Windows and MacOS
https://medium.com/p/caacde067bd0

Workflow Variables are initially set and will be filled by the batch script calling the KNIME workflow. You will have to switch to classic interface to do this

NodePit Batch

Run your KNIME workflows headless

https://nodepit.com/product/batch

Content of the "knime_nodepit_batch.sh" file in the ../script/ folder of the workflow group (https://hub.knime.com/s/lMFK_EFBmR__aJZD)

#!/bin/bash


echo "make sure to make this script executable on macOS: chmod +x knime_nodepit_batch.sh"

echo "execute the script: ./knime_nodepit_batch.sh"


echo "KNIME Batch Processing on Windows and MacOS (https://medium.com/p/caacde067bd0)"


TIMESTAMP=$(date +"%Y%m%d-%H%M%S")


KNIME_PATH="/Applications/KNIME 5.11.0.app/Contents/MacOS/knime"

WORKFLOW_PATH="/Users/m_lauber/Dropbox/knime-workspace-50/Examples/KNIME - NodePit Batch/KNIME_NodePit_Batch_MacOS"

DATA_PATH="/Users/m_lauber/Dropbox/knime-workspace-50/Examples/KNIME - NodePit Batch/data/"

LOG_FILE="${DATA_PATH}/knime_log_${TIMESTAMP}.txt"


"$KNIME_PATH" \

-nosplash \

-consoleLog \

-application com.nodepit.batch.application.NodePitBatchExecutor \

-r \

-v="var_data_path;${DATA_PATH};String" \

"$WORKFLOW_PATH" > "$LOG_FILE" 2>&1


EXITCODE=$?


echo "Workflow execution complete. Exit code: $EXITCODE"

echo "Log file: $LOG_FILE"


exit $EXITCODE

train.table Read the table from the path
Table Reader
var_file_path
String to Path (Variable)
var_file_path return $${Svar_data_path}$$ + "train.table"; configure the file path with the workflow variable
Java Edit Variable (simple)
Date&Time Part Extractor
var_excel_path
Excel Writer
file_path
Constant Value Column Appender
construct filename
current time
Date&Time Range Creator

Nodes

Extensions

Links