Pentaho Kettle Scheduled Task: Windows

To run a Spoon/Kettle job from the command line (convenient for creating a scheduled task) use the following syntax:

kitchen.bat /rep:”REPOSITORY NAME” /job:”JOB NAME” /dir:/LOCATION /user:USER_NAME /pass:PASSWORD /level:Basic

Replace /job: with /file: to run a job from a file if you’re not using a repository.

3 Replies to “Pentaho Kettle Scheduled Task: Windows”

  1. It wouldn`t work! Between parameter and value must be space:

    kitchen.bat /rep: ”REPOSITORY NAME” /job: ”JOB NAME” /dir: /LOCATION /user: USER_NAME /pass: PASSWORD /level: Basic

    1. Sorry, I`m wrong.
      However if you want to execute it throught .bat file you want to change directory first. Like that:

      cd “C:Program Filesdata-integration_3.2.5”
      kitchen.bat /rep: ”REPOSITORY NAME” /job: ”JOB NAME” /dir: /LOCATION /user: USER_NAME /pass: PASSWORD /level: Basic

  2. Alexander,
    Yes you’ll want to specify the ‘Start In’ folder for the scheduled task or ensure (via batch or the PATH) that everything can be resolved (like you’re suggesting).

    Cheers
    Josh

Leave a Reply

Your email address will not be published. Required fields are marked *