Created
May 17, 2021 09:20
-
-
Save yht/74c562761a281c018bf6b39b631f7a74 to your computer and use it in GitHub Desktop.
Kettle Pan & Kitchen Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET JAVA_HOME=C:\Program Files\Java\jre1.8.0_281 | |
SET PATH=%PATH%:%JAVA_HOME%\bin | |
SET TGL=%DATE:~-4%%DATE:~3,2%%DATE:~0,2% | |
SET JAM=%TIME:~0,2%%TIME:~3,2%%TIME:~6,2% | |
SET KTR_DIR=C:\OnGoing\ | |
Kitchen.bat /norep /file=%KTR_DIR%\Test.kjb /logfile=%KTR_DIR%\logs\Test_%TGL%_%JAM%.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET JAVA_HOME=C:\Program Files\Java\jre1.8.0_281 | |
SET PATH=%PATH%:%JAVA_HOME%\bin | |
SET TGL=%DATE:~-4%%DATE:~3,2%%DATE:~0,2% | |
SET JAM=%TIME:~0,2%%TIME:~3,2%%TIME:~6,2% | |
SET KTR_DIR=C:\OnGoing\ | |
Pan.bat /norep /file=%KTR_DIR%\Test.ktr /logfile=%KTR_DIR%\logs\Test_%TGL%_%JAM%.log |
Author
yht
commented
May 17, 2021
- Check your java version, add JAVA_HOME path
- Include JAVA binary directory to PATH
- Set DATE & TIME format
- Replace KTR_DIR with your working directory
- Replace file jobs & transformations
- Replace logs directory
- Run this command from your KETTLE_HOME
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment