Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to execute a job on demand

  1. #1

    Default How to execute a job on demand

    Hi all,
    i need to execute a job not on a schedule basis, but on demand.
    After it has finished, it should restart again waiting for the next execution request. Usually i'll have several exec requests in some days of the month, then no more requests for weeks.

    Which is the best way to do that?
    Now I'm running daily two 'master jobs' at 2:00 AM and at 2:00 AM; I'd like to avoid to schedule a job every 30', during day and night; it would be useless and CPU consuming...

    Thank you for any suggestion.

    Andrea

  2. #2

    Default

    Hello,

    You can set a job which is waiting for a file. When the file is pushed, the transformation will begin.

    Don't forget to delete the file after the transformation.

    job_attendant_fichier.zip

    Quote Originally Posted by pool View Post
    Hi all,
    i need to execute a job not on a schedule basis, but on demand.
    After it has finished, it should restart again waiting for the next execution request. Usually i'll have several exec requests in some days of the month, then no more requests for weeks.

    Which is the best way to do that?
    Now I'm running daily two 'master jobs' at 2:00 AM and at 2:00 AM; I'd like to avoid to schedule a job every 30', during day and night; it would be useless and CPU consuming...

    Thank you for any suggestion.

    Andrea

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.