Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
et123
Contributor III
Contributor III

Exporting a Job talend and executing it outside on Linux Server

Hi ,

So I developed my job on my local machine, then I export the job script and move it to the linux server to execute it and without installing Talend on it.

But the problem that I have In the Job an excel file (path:on my local machine) so even If I copy that excel file on the server, the path mentionned in the extracted job script is on my local machine, so the server won't find it while execution. What should I do ?

Thank you

0695b00000OA9UkAAL.png

 

Labels (2)
1 Reply
Anonymous
Not applicable

Hi

The file should be located in the same file path on different server if you set a fixed file path, the best practices is to define the file path using context variable, pass a new value to context variable when executing the job if the file path changes. eg:

>./jobName.sh --context=Default --context_param varName=newValue

 

Regards

Shong