I have a cronjob run by root. This is sending a mail to root which points to email@example.com
The cronjob also sends confirmation of the job to firstname.lastname@example.org
which I want.
Is there a way I can prevent the default cron mail send and just keep below. I dont want to prevent cron mail being received.
0 11 * * * /root/xx.sh | mail -s "`hostname` backup run" email@example.com
Can someone assist please.