kettle的kitchen.bat /kitchen.sh
后面參數(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 <name>=<value>. 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運行參數(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 運行參數(shù)基本與kitchen.bat相同
運行轉(zhuǎn)化 的參數(shù):
-trans