start job on linux server

Six Stars

start job on linux server

Hi everyone. I would need to schedule a job on another server. I explain better ... I work with DI on a windows client and I would like to move jobs to a linux server where jobs will be scheduled via crontab. In your opinion, is it possible?
thank you

Tags (1)

Accepted Solutions
Thirteen Stars

Re: start job on linux server

Right click mouse on Job in repository view, click Build Job.

transfer the result zip file to the target server, unzip it

change directory (same with Job name) - and run - chmod u+x *.sh

 

then you will find file JobName_run.sh (JobName - it is your Job name) - you can schedule it as any Linux task

that's all

-----------

All Replies
Thirteen Stars

Re: start job on linux server

Right click mouse on Job in repository view, click Build Job.

transfer the result zip file to the target server, unzip it

change directory (same with Job name) - and run - chmod u+x *.sh

 

then you will find file JobName_run.sh (JobName - it is your Job name) - you can schedule it as any Linux task

that's all

-----------
Highlighted
Six Stars

Re: start job on linux server

I tried but it works only if I run the * .sh file with the bash command and not chmod u + x.
Can you tell me if it's still correct or the difference between the two commands?
Thank you

Thirteen Stars

Re: start job on linux server

Hi,

 

not 100% understood you

 

chmod u+x *.sh - it command make sh file executable 

 

JobName_run.sh - execute (start) your job, but first it must be marked as executable

-----------
Six Stars

Re: start job on linux server

OK thank you very much.

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.