CentOS 8.1 cron does not send mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

we experience difficulties with crond behaviour sending mail since CentOS 8.1. The cron job is the same like we used in CentOS 7.

crontab -l
/usr/bin/python3 -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/backup.sh

backup.sh writes the backup to the remote backup server. There are around 30 machines with the same cron job. The python part spreads the jobs over an hour so that the backup server is not struck at once from about 30 machines.

The change in behaviour is that crond sends no mail anymore. It is because of the logical and (&&). Without this crond sends mails.

What has changed in CentOS 8 and does anyone has an idea how we could fix it?

Thank you!

Tobias


--
collect@shift.agency
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux