Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to start/schedule talend job through Unix ?

Hello Team, 

 

how to start/schedule talend job through Unix, Could you please help me with the command and syntax used for scheduling a taland job through unix. ?

Labels (2)
13 Replies
Anonymous
Not applicable
Author

Hi,

With Talend Open Studio, you can export the job script, and then schedule it with third scheduler tool, such as crontab command on Linux, however, there is no a command prompt if the job is executed in an external scheduler tool.

Best regards

Sabrina

 

TRF
Champion II
Champion II

Hi,

Using the community version, you can start/schedule the exported jobs as any script Shell using the standard cron or the scheduler of your choice. From TOS, right click on the job name, then Build. This produce all the necessary to use the job from outside TOS (from command line).

Using the subscription version, you have the TAC to manage and schedule tasks.

 

Does this helps?

 

Anonymous
Not applicable
Author

nope, I want unix command used to start/stop/schedule the job trough linux.

Anonymous
Not applicable
Author

You can use the Crontab to do this as was stated above. Look inside the .sh file that is supplied with your compiled job to figure out the command and classpaths required to run your job, then configure the crontab to schedule. Talend jobs are just Java executables, so this example showing how to do this to call Java apps will help you....

https://www.mkyong.com/java/java-cron-job-to-run-a-jar-file/

Anonymous
Not applicable
Author

Hi

I am using Talend 6.5.1 open studio and i want to schedule this in Linux environment. 

If i export the job i get a zipped file of an item and some screenshot of the job. Kindly tell me how to export my job from studio and schedule. (compatible to linux)

manodwhb
Champion II
Champion II

you have to Bulid a job as a zip and move to Linux server and unizp and in the folder of the job name you can find a *****.sh file and schedule that .sh file in crontab for scheduling.

Anonymous
Not applicable
Author

I tried the same. Build the job and extracted the job in linux.

PFA the screenshot. I get the .sh file but error is thrown.pls help


TalendImage.png
Anonymous
Not applicable
Author

Now i am able to execute the sh file. but this error comes

Error: Could not find or load main class local_project.new_job_0_1.New_Job

manodwhb
Champion II
Champion II

it could be problem with Java version or you may need to enable check box for "Use specific JVM arguments" under Advanced setting of Run tab of Job.