Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: job can't run with crontab

  1. #1
    Join Date
    Jun 2007
    Posts
    12

    Default job can't run with crontab

    I can run the job in command line--sh -C kitchen.sh -file:"product/job/multiinput.kjb" -level:Minimal .But When I schedule the job with crontab ,the job can't run.

    I don't know if I forget something to set

    crontab config

    * * * * * /home/bo/kettle/multi.sh
    multi.sh
    cd /home/bo/kettle

    sh -C kitchen.sh -file:"product/job/multiinput.kjb" -level:Minimal -norep=Y
    Attached Files Attached Files

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Is normal for crontab... it runs in an empty environment, source in the the .profile or /etc/profile right before your execution in crontab ". /etc/profile; /home/bo/kettle/multi.sh"

    Regards,
    Sven

  3. #3
    Join Date
    Jun 2007
    Posts
    12

    Default

    Thanks Sven. It's ok .

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.