Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Running transofrmation using Pan.sh on a server

  1. #1

    Default Running transofrmation using Pan.sh on a server

    A basic Pan.sh question. When you run a transformation on a server using pan.sh from the command line, does it matter if I closed the window and the job would be still running in the background? how would I know if it ran without any errors if I closed it.

  2. #2
    Join Date
    Apr 2014
    Posts
    9

    Default

    If pan is executed from a crontab, it will run whether you close the window or not.

    If you're running pan from the command line, I'd suggest using nohup and piping the output to a log file, as well as setting it as a background process with &

  3. #3

    Default

    Thanks noah. I tried it and it did create the log file but the log file did not have any information. Could you tell me if this is the right command?

    nohup ./pan.sh /norep /file:/vol/etl/pentaho_jobs/abc/abc.ktr /level:Error >> /vol/etl/logs/abc.log &

  4. #4
    Join Date
    Apr 2014
    Posts
    9

    Default

    Are you doing this in a Unix environment or Windows?

    You should use the correct format for passing arguments.

    e.g. (Assuming unix environment)
    nohup ./pan.sh -norep -file=/vol/etl/pentaho_jobs/abc/abd.ktr -level=Error >> /vol/etl/logs/abc.log &

  5. #5

    Default

    That worked thanks Noah.

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.