commandline - pass a list of commands

One Star

commandline - pass a list of commands

Hi,

I've been going through the documentation for running the talend commandline utility:

http://talendforge.org/wiki/doku.php?id=doc:first_steps_with_commandline

The documentation tells me to create something called CommandlineScript to pass to the shell version of the commandline utility. What the documentation does not state is how to pass the list of commands. Is there an option for a file argument?

Thanks
One Star

Re: commandline - pass a list of commands

if <CommandLineWindows> equals TISEE-win32-x86.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace

then you can put all the commands in a file and then just run:

<CommandLineWindows> scriptFile "your_file"

You can create this file called "ExportJobScript.txt" with the following:

initRemote http://localhost:8080/org.talend.administrator323
logonProject -pn FORMATIONTIS -ul nfrancisco@talend.com -up MyPassword
exportJob TouchFile -dd "/home/nfrancisco/Bureau/ExportJobScript_Commandline/" -jv 3.2 -jc Default -af "exportjobscript"

Then a script like this to execute the commands above:

#!/bin/sh
cd /home/nfrancisco/Talend/Logiciels/TDQ/3.2.3/Install/Commandline
./TalendDataQuality-linux-gtk-x86 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile "/home/nfrancisco/Talend/Formations/FormationTIS/AdminTeam/commanline_solution/ExportJobScript.txt"
One Star

Re: commandline - pass a list of commands

6KoEAb <a href="">rtjzatdnbzvp</a>, macgmxshknlx, [link=]slfvvazamukd[/link],

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog