Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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
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
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
OK thank you very much.
Hi,
did you use exactly the same version of Java on Studio and runtime machines?
Yes, even i am trying to execute the jobs in the same server (i.e the place where we created the jobs in talend studio) but through console.