Icon

KNIME_NodePit_Batch_MacOS

<p><strong>Simple KNIME NodePit Batch processing on MacOS</strong><br><br>This workflow is being called thru a 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 (KNIME Forum 91773) https://forum.knime.com/t/batch-execution-no-longer-supported/91773/17?u=mlauber71

Annotations and comments
  • 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
  • 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
  • file_path
  • current time
  • var_excel_path
  • var_file_path return $${Svar_data_path}$$ + "train.table"; configure the file path with the workflow variable
  • var_file_path
  • train.table Read the table from the path
  • stamp_day_txt
  • stamp_time_txt
  • var_export_file_path
  • var_export_file_name
  • stamp_day
  • stamp_time
  • stamp_*

Nodes

Extensions

Links