You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
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
Offline

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"
Offline
Pages: 1