kettle命令启动:

http://download.csdn.net/detail/ludaxin6/9519418

kettle命令启动参数:

http://blog.csdn.net/gleiyu/article/details/38089983

相关详细参数:

  /rep            : Repositoryname 资源库名称

/user           : Repositoryusername 资源库用户名

/pass           : Repositorypassword 资源库密码

/job            : Thenameofthejobtolaunch 任务名称

/dir            : The directory 任务目录 记得开始的/or\

/file           : The filename 任务XML文件名称

/level          : The logging level 指定日志级别(Basic, Detailed,Debug, Rowlevel, Error,Nothing)

/logfile        : The logging file to write to 指定日志文件

/listdir        : List the directories in the repository 列出指定存储中的目录结构

/listjobs       : List the jobs in the specified directory 列出指定目录下的任务列表

/listrep        : List the available repositories 列出所有的存储

/norep          : Do not log into the repository 不写日志

/version        : show the version, revision and builddate

/param          : Set a named parameter<NAME>=<VALUE>. For example -param:FOO=bar

/listparam      : List information concerning the definedparameters in the specified job.

/export         : Exports all linked resources of thespecified job. The argument is the name of a ZIP file.

/maxloglines    : The maximum number of log lines that arekept internally by Kettle. Set to 0 to keep all rows (default)

/maxlogtimeout  : The maximum age (in minutes) of a log linewhile being kept internally by Kettle.

Set to 0 to keep all rowsindefinitely (default)

示例:
windows环境下 多个参数用 / 分隔 ,key 和value中间用 : 分隔
     JOB在文件中
  1. kitchen /file:D:/demo/demo.kjb /level:Basic>D:/demo/demo.log
JOB在数据库中
  1. kitchen /rep etl /user admin /pass admin /dir demo /job demo /level Basic /logfile D:/demo/log/demo.log

linux环境下 参数用 - 分隔,key 和value 中间用=号分隔
JOB在文件中
  1. kitchen.sh -file=/home/job/demo.kjb >> /home/job/log/demo.log
JOB在数据库中
  1. kitche.sh -rep=etl -user=admin -pass=admin -level =Basic -job=demo

如果在.bat文件中

d:
cd D:\etl\data-integration
kitchen /file C:\Users\for_elegant\Desktop\aramark\amrmark.kjb /level Basic /logfile E:\%date:~0,4%%date:~5,2%%date:~8,2%.log

即:

则会生成一个时间日期为文件名的文件。

命令行启动kettle的更多相关文章

  1. Apache Commons CLI官方文档翻译 —— 快速构建命令行启动模式

    昨天通过几个小程序以及Hangout源码学习了CLI的基本使用,今天就来尝试翻译一下CLI的官方使用手册. 下面将会通过几个部分简单的介绍CLI在应用中的使用场景. 昨天已经联系过几个基本的命令行参数 ...

  2. sublime text2在windows中以命令行启动

    sublime text2在windows中以命令行启动   把执行文件添加到PATH中即可,如图: 如果你和我一样习惯了mac下的简写subl,那么需要在程序目录中新建一个批处理文件subl.bat ...

  3. Apache Commons CLI命令行启动

    今天又看了下Hangout的源码,一般来说一个开源项目有好几种启动方式--比如可以从命令行启动,也可以从web端启动.今天就看看如何设计命令行启动... Apache Commons CLI Apac ...

  4. 记一次使用命令行启动部署在tomcat上的应用

    在Eclipes进行程序开发完成后,一般都会直接在Eclipse部署启动,其中的一些启动参数设置都会在其中进行,若用命令行启动,则需要手动配置. 程序开发完成后打成的war包,需要部署到Tomcat应 ...

  5. 转载:使用命令行启动VirtualBox虚拟机

    使用命令行启动VirtualBox虚拟机 装上VirtualBox就琢磨着如何让它开机自动启动,又或者能够通过命令行的形式直接启动指定的虚拟机. 看了下VirtualBox的官方文档,发现有一个命令可 ...

  6. Android中使用am命令实现在命令行启动程序详解

    在Android中,除了从界面上启动程序之外,还可以从命令行启动程序,使用的是命令行工具am. 复制代码代码如下: usage: am [subcommand] [options] start an ...

  7. 如何设置fedora默认从命令行启动?

    Sumary:因为在fedora中没有/etc/initab文件我们不方便从这里设置它的runlevel target,但是linux又给我们提供了一个强悍的工具systemd,我们可以用system ...

  8. vmware 命令行启动虚拟机

    在redhat enterprise 5.3安装了vmware workstation,如何用vmware 命令行启动指定虚拟机?/usr/bin/vmware[root@node0 ~]# /usr ...

  9. UWP: 通过命令行启动 UWP 应用

    最近在开发应用的过程中,我遇到了如标题所述的需求,其实主要是为了能够快捷启动应用,正像我们可以在"运行"对话框中可以输入一些可执行程序的名称后,就能够直接启动它:这样做,可以增加 ...

随机推荐

  1. Kafka server部署配置优化

    Kafka配置优化其实都是修改server.properties文件中参数值 1.网络和io操作线程配置优化 # broker处理消息的最大线程数        num.network.threads ...

  2. spring boot几个初始配置文件

    一.gradle // https://mvnrepository.com/artifact/com.squareup.okhttp/okhttp compile group: 'com.square ...

  3. C#--readlyonly关键字

    字段可以使用readyonly修饰符声明.其作用类似声明一个字段为const,一旦值被设定就不能改变. const字段只能在字段的声明语句中初始化,而readyonly字段可以在下列任何位置设置它的值 ...

  4. 机器学习(5): K-means 算法

    3. K-means 算法:        3.1 Clustering 中的经典算法,数据挖掘十大经典算法之一      3.2 算法接受参数 k :然后将事先输入的n个数据对象划分为 k个聚类以便 ...

  5. mysql两列合成一列

    update manage set mark = concat(mark,remark) select concat(mark,remark) as pp from manage

  6. 模拟HTTP请求获取返回值

    package org.jeecgframework.core.util; import java.io.BufferedReader; import java.io.IOException; imp ...

  7. struts中action名称反复导致的神秘事件

    近期由于项目需求变更.须要本人对当中的某个业务功能进行改动.本人依照前台页面找action,依据action找代码的逻辑进行了改动(公司项目是ssh框架,struts配置全部是通过注解的方式进行.配置 ...

  8. iptables清空链的规则

    建立iptables时,首先需要情况系统默认的规则(如果有),这样能够保证iptables按照自己的想法运行. iptables -F   //清空链规则,但不会情况子链,也不会清空表的默认策略 ip ...

  9. Interception c# code

    http://www.codetails.com/2012/12/02/intercepting-method-calls-using-il/20121202/ http://blogs.msdn.c ...

  10. lua连续随机数

    号外:惭愧,工作后几乎没有写博客了,其实是有时间的(每周单休),只是厌烦对着屏幕了,还有懒. 现在老板换人了,时间会多点,估计正常就每周双休了,决定还是每周写两篇(不一定是love2d), 写不出就翻 ...