kettle 运行参数说明与示例

kettle的kitchen.bat /kitchen.sh
后面参数说明*
options:

/rep        : repository name
/user       : repository username
/pass       : repository password
/job        : the name of the job to launch
/dir        : the directory (dont forget the leading /)
/file       : the filename (job xml) to launch
/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 build date
/param      : set a named parameter =. for example -param:foo=bar
/listparam : list information concerning the defined parameters in the specified job.
/export     : exports all linked resources of the specified job. the argument is the name of a zip file.

而options 后面可以是=也可以是:也可以是空格
kitchen.bat /file d:\ 或者 -file=d:\ 或者/file:d:\等等都可以。。。

kitchen.sh运行参数例子:

kitchen.sh -rep can_test_kettle -user admin -pass admin -dir /test_db_data_copy/all_data_copy/job -job job_test_db_data_copy_main -level=basic

kitchen.bat -rep can_test_kettle -user admin -pass admin -dir /test_db_data_copy/all_data_copy/job -job job_test_db_data_copy_main -level=basic

pan.sh 运行参数基本与kitchen.bat相同
运行转化 的参数:

-trans

你可能感兴趣的:(kettle 运行参数说明与示例)