Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Looping job

  1. #1

    Default Looping job

    Hi!
    Does anyone have a working example for a loop job that specifically does one thing -- getting data for the missing days? So, to illustrate, I have done a major bug fix today and all data needs to be reloaded from July 2011 to yesterday. The loop job would allow me to set the endDate (yesterday) and startDate (2011-07-01). Then, it sets the date variables in to the main job and runs for that day and when finished goes out and picks another day and run it until the date range period is complete.

    Many thanks in advance!

  2. #2
    Join Date
    Oct 2011
    Posts
    15

    Default

    Hi,

    i have attached a simple (PDI 3.2.5) example how to create a looping job to ping a host up to n-times (the counter n can be configured and is incremented automatically).

    Since we use a database-repository, you must perhaps rename logging and database connection settings, if you use a database repository either.

    Cheers

    Thomas
    Attached Files Attached Files

  3. #3

    Default

    Thanks Thomas!
    We use file repository (Tortoise SVN), but nevertheless will try this out either way.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.