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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Create Job in folder via Commandline

Hi everyone,

 

we are currently trying to create Jobs from generated Jobscripts via the Commandline:

 

createJob myJobName -sf /home/talend/workspace/project/code/jobscripts/myJobScript.item

So far, all created jobs can be found afterwards in the main directory in Talend Studio.

How to use the subfolder structure of Talend Studio via the Commandline? (the slash notation appears not to work...)

 

Best,

Kolja

Labels (3)
12 Replies
Anonymous
Not applicable
Author

Hi,

The exhaustive help for all commands that you get when you type the -help command in your Talend CommandLine application.

Here is online document about:TalendHelpCenter:Talend CommandLine API

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi Sabrina,

thanks a lot for your reply!

Having read the documentation in more detail, I was still unable to find out, how to create jobs in a certain Talend path (the folder structure in the GUI) via commandline.

I can handle the 2 parameters -o & -sf, but as far as I see the help doesn't tell about a possibily to provide the talend path.

 

|  createJob jobName                                                 create job from script file   |
|      -o (--over_write)                                             to overwrite if job existed   |
|      -sf (--script_file) file path                                 job of script file            |

 

Are more parameters to the createJob command available?
I tried to include the path in the jobName, which didn't work.
Any other idea?

Best,

Kolja

Madse
Contributor
Contributor

Hello Kolja,
currently i´m facing the same Issue and I was wondering if you were able to create an Talend Job via Command Line from Jobscript in an certain folder?

Thanks a lot 

Anonymous
Not applicable
Author

Hello,

You can use Job script to create a data integration process with Talend Studio.

For more information, please refer to this online document about:TalendHelpCenter:Creating a Job using a Job creation API

Feel free to let us know if it is what you are looking for.

Best regards

Sabrina

Madse
Contributor
Contributor

Hello xdshi,
thanks for your feedback. But your standard answer and reference to help.talend.com did not answer my actual question.
I did search in in Talend help as well as checked Talend Command Line Help.

I would like to create an Talend Job in an specific folder in the Talend Project using CommandLine createJob function.

|  createJob jobName                                                 create job from script file   |
|      -o (--over_write)                                             to overwrite if job existed   |
|      -sf (--script_file) file path                                 job of script file            |

I tried to add path information in jobName property but the Job-Creation faild.

thanks for any advice

 

Anonymous
Not applicable
Author

Hello,

Could you please let us know if you are using talend open studio or subscription solution?

Best regards

Sabrina

Madse
Contributor
Contributor

Hello,
thanks for your quick reply. Im using Talend Studio 6.4.1 subscription.

Best regards
Anonymous
Not applicable
Author

Hello,

What does your error message look like?

Could you please create a case on talend support portal? In this way, we can give you a remote asistance through support cycle with priority?

Best regards

Sabrina

Madse
Contributor
Contributor

Hello @xdshi,

thanks for you feedback.

by adding an ptah to the property Jobname (createJob folder/subfolder/jobname) the Error in the Talend Commandline actually just says failed. 
I suppose this issue and feature request ist already raised jira TDI-40839