kettle windos\linux operation command

/rep : repository name
/user : repository username
/pass : repository password
/trans : name of the transformation to start
/dir : directory (don’t forget the prefix /)
/file : filename to start (where the transformation is located) XML file)
/level : log level (basic, verbose, debug, line level, error, none)
/logfile : log file to write to
/listdir : list directories in repository /listtrans : list files
in specified directory convert
/listrep : list available repositories
/exprep : export all objects in the repository to an XML file
/norep : do not write logs to the repository
/safemode : run in safe mode: with extra checks
/version : Display version, revision and build date

Windows command:
1. Run the command under Windows to convert first_kettle_users: pan.bat /rep kettlefirstjob /user admin /pass admin /trans first_kettle_users
2. Execute job job_stu under Windows command: kitchen.bat /rep kettlefirstjob /user admin /pass admin /job job_stu

Linux command:
1. Execute conversion first_kettle_users under linux command: sh pan.sh /rep kettlefirstjob /user admin /pass admin / trans first_kettle_users
2. Execute the job job_stu command under linux: sh kitchen.sh /rep kettlefirstjob /user admin /pass admin /job job_stu

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327011086&siteId=291194637