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

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

Get list of job on a project using script

Hello,
Is there a way to get the list of job names available on a given Talend Enterprise Project using script (SQL for example) ?
We need it to make report and activity tracking.
Can someone help please ?
Thanks in advance
Labels (2)
2 Replies
Anonymous
Not applicable
Author

The commandline has a listJob command that may be what you want.  I have used the command line but not to list jobs. 
Here is a link to a tutorial to run a job from the command line that will help you get started using the command line if you are not familiar.
https://www.talendforge.org/tutorials/tutorial.php?idTuto=48
I would guess you would logon to the project and then list the jobs.  here is non-tested commandline script code
initRemote http://${talendhost}:8080/org.talend.administrator -ul admin@company.com -up admin
logonProject -pn ${project_name}
listJob
listProject
ermendez
Contributor
Contributor

The way I achieved this issue was by using the Linux CLI and listing all different jobs located at execution server. Must likely it would be under the path ../TalendJobServersFiles/repository/

In there you would be able to see all projects and job names, separated by an underscore character "_", for example:

 

PROJECT_jobname_{DATE}_jobid

 

Once you have the different jobs and versions, you could filter it using AWK or sending the results to a CSV and analyze it.