Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
DiliTimor
Contributor III
Contributor III

talend job did not run on cron ubuntu

I was running test on ubuntu to run talend job. It is simply one tFileFetch to get xml file online and save it to home dir.

It did not produce any file to the destination dir.

This job was build on local PC (win10) and server is ubuntu 22

How can I solve this problem.

I am appreciate any help, thank you in advance

Labels (2)
1 Solution

Accepted Solutions
DiliTimor
Contributor III
Contributor III
Author

It is solve

First run it direct in CL. There is a message xx.sh: 4: java: not found

Second check grep CRON /var/log/syslog. There is a message (CRON) info (No MTA installed, discarding output)

 

Solution:

  1. add MAILTO = "" on crontab
  2. sudo apt install -y openjdk-18-jdk

 

That's all

Thank you

 

View solution in original post

5 Replies
DiliTimor
Contributor III
Contributor III
Author

It is solve

First run it direct in CL. There is a message xx.sh: 4: java: not found

Second check grep CRON /var/log/syslog. There is a message (CRON) info (No MTA installed, discarding output)

 

Solution:

  1. add MAILTO = "" on crontab
  2. sudo apt install -y openjdk-18-jdk

 

That's all

Thank you

 

Anonymous
Not applicable

Hello,

As far as we known that openjdk 18 is not list in the compatible java environments table.

https://help.talend.com/r/en-US/8.0/installation-guide-open-studio-for-data-integration-linux/compat...

Feel free to let us know if you have any issue about Java Environment.

Best regards

Sabrina

DiliTimor
Contributor III
Contributor III
Author

Hi,

It is working fine now.

Anonymous
Not applicable

Hello,

Are you working fine with openjdk 18 in talend V 8?

Best regards

Sabrina

DiliTimor
Contributor III
Contributor III
Author

Sorry for mis information,

I mean job that build from talend V8 is working fine in our server with openjdk18.

TOS V18 it self is running on developing envi with jdk11