HCE-5920 practice question 8 of 15

What are two ways to schedule a PDI job stored in the repository? (Choose two.) Choose 2 answers

Full set: 60 questions
Answer options
A: Write a login script to start the timer and execute a kitchen script specifying a job in the repository.
B: Use the pan script specifying a job in the repository and schedule it using cron. Correct answer
C: Use the kitchen script specifying a job in the repository and schedule it using cron. Correct answer
D: Use Spoon connected to the Pentaho repository and choose Action > Schedule in the menu.
Correct Answer:
B. Use the pan script specifying a job in the repository and schedule it using cron.; C. Use the kitchen script specifying a job in the repository and schedule it using cron.
Explanation

The two primary methods for scheduling Pentaho Data Integration (PDI) jobs using external, command-line tools are with an OS-native scheduler like cron. The most direct method is using the kitchen script, which is the designated command-line utility for executing PDI jobs. It can connect to the Pentaho repository to locate and run the specified job, and cron can be used to schedule its execution (C). An indirect, but technically valid, method involves the pan script. While pan is designed to execute transformations, a transformation can contain a "Job Executor" step. This allows a wrapper transformation to call a PDI job. Therefore, one can use cron to schedule the pan script to run this wrapper transformation, which in turn executes the job (B).

Why Incorrect

A. Using a login script is not a reliable or standard enterprise scheduling method; it is dependent on user sessions and not suitable for unattended, time-based execution.
D. The Spoon client is the PDI design environment; it does not contain a native "Action > Schedule" feature for persistent scheduling. Scheduling is managed via the Pentaho Server or external tools.

References

1. Hitachi Vantara Documentation

Pentaho 9.1

"Use Carte

Pan

and Kitchen": This official document explicitly defines the roles of the command-line tools.

Section: "Kitchen": "Kitchen is a command line tool that executes PDI jobs. The job filename or repository location is specified on the command line." This supports answer C.

Section: "Pan": "Pan is a command line tool that executes PDI transformations. The transformation filename or repository location is specified on the command line." This clarifies that Pan's direct target is a transformation

not a job.

2. Hitachi Vantara Documentation

Pentaho 9.1

"Job Executor": This document describes the transformation step that makes answer B possible.

Section: "Job Executor": "The Job Executor step allows you to run a job from within your transformation... You can specify the job to execute by filename or by reference from a repository." This supports the indirect method described in answer B.

3. Hitachi Vantara Documentation

Pentaho 9.1

"Tools to Automate

Schedule

and Monitor Pentaho": This document outlines the standard scheduling approaches.

Section: "Use Kitchen or Pan with a Scheduler": "You can use Kitchen or Pan with your operating system's scheduler

such as Cron for Linux and macOS

or Task Scheduler for Windows

to run jobs and transformations at specific times." This confirms that using cron with these scripts is the intended method.

Scroll to Top