Six Stars

Schedule a talend job

I want to schedule a talend job at TAC by running the same job every time as soon as the same job is completed 

 

Pls kindly help me out 

7 REPLIES
Thirteen Stars TRF
Thirteen Stars

Re: Schedule a talend job

Maybe creating a file when the job finishes and starting the job from TAC when this file is created.
Sorry, don't have access to TAC at this time but it could be an idea.

TRF
Six Stars

Re: Schedule a talend job

@TRF That's an interesting idea! But where and how is this touch file being generated>??
~ ````Please don't forget to give "kudos" when a reply is helpful and click "Accept the solution" when you think you're good with it. Thanks! ~
Thirteen Stars TRF
Thirteen Stars

Re: Schedule a talend job

As explained in documentation "If you want to execute a task on a file-based event, such as the presence, creation, modification of the file, you can use the File trigger. For more information on how to use File triggers, see How to add a File trigger."

I thiink that's the answer.


TRF
Six Stars

Re: Schedule a talend job

is it not possible to do other way without creating file ?

Thirteen Stars TRF
Thirteen Stars

Re: Schedule a talend job

You may also create a new task using the MetaServlet API.

Here again you have to refere the documentation.

I've used it in the past to restart automatically web services 1 time per day.

It should be an alternative.


TRF
Thirteen Stars TRF
Thirteen Stars

Re: Schedule a talend job

Does this help?

If so please mark this case as solved (Kudos also accepted).


TRF
Four Stars

Re: Schedule a talend job

is this issue resolved?

I agree to the touch file method with file trigger, as its easy to implement. You can create a touch file on the job server where you are running the job.

 

else I got a wild idea.. you can create a master job having tInfiniteLoop followed by your subjob(the one which you want to run back to back)

tInfiniteLoop>>tRunJob

Then run this master job once from TAC.. and it will go on.

But not sure how you want your job to behave in case of error.