zoukankan      html  css  js  c++  java
  • kettle-3(linux环境调度kjb并配置定时读取)

    1.首先要把kettle搬到Linux系统下,rar包解压需要操作下,直接提供.tar.gz :

      https://pan.baidu.com/s/1_tzcy8GCKJ7qHzjTSqNnxQ    (7rv6)  [.tar.gz] linux

    2.将Windows中配置好的.ktr&.kjb搬到Linux目录下,没滑头,具体配置如下:

    #建立.sh的任务脚本如下
    /usr/etc/tools/pendaho/data-integration/kitchen.sh -file=/usr/etc/tools/pendaho/kettle/sit/mo-eas_contract.kjb -level=Detailed -logfile=/usr/etc/tools/pendaho/kettle/sit/logs/kettle.log
    /usr/etc/tools/pendaho/data-integration/kitchen.sh -file=/usr/etc/tools/pendaho/kettle/sit/mo-eas_paybill_entry.kjb -level=Detailed -logfile=/usr/etc/tools/pendaho/kettle/sit/logs/kettle.log
    /usr/etc/tools/pendaho/data-integration/kitchen.sh -file=/usr/etc/tools/pendaho/kettle/sit/mo-eas_paybill_head.kjb -level=Detailed -logfile=/usr/etc/tools/pendaho/kettle/sit/logs/kettle.log

    3.配置在crontab中:crontab -e

    #minutertment  hour   day   month   week   command
     
    #demo
    0 9-23 * * 1-5 sh /usr/etc/tools/pendaho/kettle/kettle.sh
    0 9-23 * * 1-5 sh /usr/etc/tools/pendaho/kettle/kettle_log.sh
     
    #sit-job
    0 9-23 * * 1-5 sh /usr/etc/tools/pendaho/kettle/sit/mo-eas_contract.sh
    0 9-23 * * 1-5 sh /usr/etc/tools/pendaho/kettle/sit/mo-eas_paybill_head.sh
    0 9-23 * * 1-5 sh /usr/etc/tools/pendaho/kettle/sit/mo-eas_paybill_entry.sh
     
    #sit-log
    0 9-23 * * 1-5 sh /usr/etc/tools/pendaho/kettle/sit/kettle_log.sh
    作者:stuka

    个性签名:教育的目的是为了获得与个人兴趣爱好相适应并得到国家和社会认可的能力

    如有帮助请点击右下“推荐”

    wechat alipay

  • 相关阅读:
    maven的tomcat插件如何进行debug调试
    jre,jdk,jvm的关系
    maven私服Nexus3.2的使用
    Markdown插入图表
    GAME-BASED LEARNING
    Game Based Learning: Why Does it Work?
    31 Game-Based Learning Resources for Educators
    Gamification and Game-Based Learning
    Gamification vs. Game-Based Learning
    WHAT IS GAME-BASED LEARNING?
  • 原文地址:https://www.cnblogs.com/stuka/p/11246900.html
Copyright © 2011-2022 走看看