Make cron email job output when it is not empty

Hello,

Happy New Year to all of your colleagues who use OpenSUSE.

I am using OpenSuSE 15.4 on an Internet server.

Recently, I migrated to a new server, and OpenSuSE 15.4 was also installed.

In the previous server, when a cron job sent some output, the system would send an email message to the cron user.

In the current server, that does not happen.

There may be something different in the configuration of the two servers to handle cron jobs .

Does anybody know what I need to do to make the new server send emails to the user email address when a cron job outputs data?

Did you read man crond and check what is said there about mails against both systems?

BTW, 15.4 is out of support now. Better upgrade ASAP.

Hello Henk,

I just read the man crond . It says that it uses the mail program. I tested the mail program from the shell and it works.

Is there a way to debug what happens to the task cron output when crond runs a task from the crontab?

Regarding upgrades we do them after we test programs that we need in the development environment before we upgrade them in the server. So we will upgrade to a more recent OpenSuSE version after we finish the tests of those programs in the the development environment.