Skip to main content
Pentaho Documentation

Schedule Perspective in the PDI Client

Overview

Explains how to schedule and script PDI content.

Once you're finished designing your PDI jobs and transformations and have saved them in the PDI Server, you can schedule them to run at specific times. 

You can also create your own scheduler using cron on Linux, the Task Scheduler on Windows, or the at command on Windows. If you do this, you will need to call the scheduler using pan or kitchen commands. 

Schedule a Transformation or Job 

You can schedule Transformations and Jobs to run at specific times by doing the following:

  1. Connect to the Pentaho Repository.
  2. Open a job or transformation from the Pentaho Repository, then select Action > Schedule.  The Schedule window appears.

scheduler.png

  1. In the Start section, either click Now to schedule a transformation or job to run immediately, or click Date and enter a date and time to run it later.
  2. In the Repeat section, either select Run Once to run the transformation or job once or select SecondsMinutesWeeklyHourlyMonthly, or Yearly to run it at regular intervals.
  3. In the End section, either click No end to indicate that the schedule will never expire, or click Date to enter a schedule expiration date.
  4. To run the scheduled transformation or job in safe mode, select the Enable Safe Mode checkbox.  Safe mode checks every row that passes through the stream to ensure that all layouts are the same as the first row.  If the layout differs, an error is generated and reported.
  5. Select the Log Level. Logging levels are addressed in detail in the Logging and Monitoring Operations article.
  6. If you've specified parameters, variables, or arguments in a transformation or job, they appear in the bottom part of the window.  Adjust values as needed.
  7. When done, click OK.

Edit a Scheduled Run of a Transformation or Job 

To edit a scheduled run of a transformation or job, complete these steps.

  1. Select the Schedule perspective from the Perspectives menu in the Spoon toolbar.

Schedule Perspective

  1. Select the schedule, then click the Edit button.

Stop a Schedule from Running

To stop a scheduled run of a transformation or job, complete these steps.

  1. Select the Schedule perspective from the Perspectives menu in the Spoon toolbar.
  2. Select the schedule that you want to stop, then click the Stop button.

Enable or Disable a Schedule from Running

To enable or disable a scheduled run of a transformation or job, complete these steps.

  1. Select the Schedule perspective from the Perspectives menu in the Spoon toolbar.
  2. Select the schedule you want to disable, then click the Disable button.
  3. If you want to enable the schedule, click the Enable button.

Delete a Scheduled Run of a Transformation or Job

To delete a scheduled run of a transformation or job, complete these steps.

  1. Select the Schedule perspective from the Perspectives menu in the Spoon toolbar.
  2. Select the schedule you want to delete, then click the Delete button.

Refresh the Schedule List

To refresh the scheduled transformation and jobs list, complete these steps.

  1. Select the Schedule perspective from the Perspectives menu in the Spoon toolbar.
  2. Click the Refresh button to update the list.