• Kettle的Kitchen和Span


     Kitchen——工作(job)执行器 (命令行方式)

        -rep  : Repository name   任务包所在存储名
        -user  : Repository username   执行人
        -pass  : Repository password   执行人密码
        -job   : The name of the job to launch 任务包名称
        -dir   : The directory (don''t forget the leading / or ) 
        -file  : The filename (Job XML) to launch 
        -level  : The logging level (Basic, Detailed, Debug, Rowlevel, Error, Nothing) 指定日志级别
        -log   : The logging file to write to  指定日志文件
        -listdir  : List the directories in the repository 列出指定存储中的目录结构。
        -listjobs : List the jobs in the specified directory 列出指定目录下的所有任务
        -listrep  : List the defined repositories 列出所有的存储
        -norep  : Don''t log into the repository  不写日志

    1      命令行调度任务配置方式     转至kitchen.bat 所在根目录下,执行.kitchen /file C:UserslenovoDesktop extT.kjb /level:Rowlevel>>C:UserslenovoDesktop est.log

     2、后台进程配置运行方式

    新建bat 文件在文件中写

    @echo off

    if "%1" == "h" goto begin

    mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit

    :begin
    D:
    cd D:data-integration
    kitchen /file C:UserslenovoDesktop extT.kjb /level:Rowlevel>>C:UserslenovoDesktop est.log
    pause

     Span——转换(trasform)执行器 (命令行方式)

  • 相关阅读:
    微信OpenID获取
    2015总结及2016目标
    python start
    csv到mysql数据库如何分割
    读书 --- 老码识途
    读书--编写高质量代码 改善C#程序的157个建议2
    读书--编写高质量代码 改善C#程序的157个建议
    BinarySearch
    在aspx中写c#
    AWS 2020 Innovate所有视频
  • 原文地址:https://www.cnblogs.com/xiayule/p/kitchen.html
Copyright © 2020-2023  润新知