Icon

KNIME_NodePit_Batch_Windows

<p>Simple KNIME NodePit Batchprocessing on Windows</p><p><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><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 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
URL: Thread about KNIME Automation (Add94) https://forum.knime.com/t/hardware-experiences-for-knime-ap-via-remote/90686/11?u=mlauber71

Annotations and comments
  • Simple KNIME NodePit Batch processing on Windows https://forum.knime.com/t/batch-execution-no-longer-supported/91773/17?u=mlauber71 This workflow is being called thru a KNIME 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.cmd" file in the ../script/ folder of the workflow group (https://hub.knime.com/s/lMFK_EFBmR__aJZD)
  • @echo off setlocal EnableDelayedExpansion for /f %%00037%a in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd-HHmmss"') do set TIMESTAMP=%%00037%a for /f %%00037%a in ('powershell -NoProfile -Command "Get-Date -Format dd.MM.yyyy"') do set DATESTR=%%00037%a for /f %%00037%a in ('powershell -NoProfile -Command "Get-Date -Format HH"') do set hours=%%00037%a for /f %%00037%a in ('powershell -NoProfile -Command "Get-Date -Format mm"') do set minutes=%%00037%a for /f %%00037%a in ('powershell -NoProfile -Command "Get-Date -Format ss"') do set seconds=%%00037%a set KNIME_PATH=C:\Users\%USERNAME%\software\knime_5.10.0\knime.exe set WORKFLOW_PATH=C:\Users\%USERNAME%\knime-workspace-5\Examples\KNIME - NodePit Batch\KNIME_NodePit_Batch_Windows set DATA_PATH=C:\Users\%USERNAME%\knime-workspace-5\Examples\KNIME - NodePit Batch\data\ set LOG_FILE_PATH=%DATA_PATH%\knime_log_%TIMESTAMP%.txt "%KNIME_PATH%" ^ -nosplash ^ -consoleLog ^ -application com.nodepit.batch.application.NodePitBatchExecutor ^ -r ^ -v="var_data_path_location;%DATA_PATH%;String" ^ --no-save ^ "%WORKFLOW_PATH%" > "%LOG_FILE_PATH%" 2>&1 set EXITCODE=%ERRORLEVEL% echo Workflow execution complete. Exit code: %EXITCODE% echo Log file saved to "%LOG_FILE_PATH%". exit /b %EXITCODE%
  • file_path
  • current_date
  • current_time
  • 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
  • current_date_time
  • stamp_day_txt
  • stamp_time_txt
  • var_export_file_path
  • stamp_time
  • var_export_file_name
  • stamp_day
  • stamp_*

Nodes

Extensions

Links