Running jobs with the Kitchen utility

In Chapter 2, Getting Familiar with Spoon, you learned how to run transformations in production environments by using the Pan command-line utility. There is a counterpart tool for running jobs: the Kitchen command. Using Kitchen is no different than using Pan. The tool comes in two flavors: Kitchen.bat and Kitchen.sh, for use in a Windows or a Linux system, respectively. Let's review the different options. The simplest way to run a job is to indicate the full path of the kjb file. You do so with the following syntax:

Kitchen.bat /file=<kjb file name>

You can also use the following command:

Kitchen.sh /file=<kjb file name>

For example, if you want to load the datamart from the command line in Windows, ...

Get Pentaho Data Integration Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.