Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Stop the php5 cron emails
Hi, I have installed SSMTP - and everything works, but now I’m getting some Cron emails that I wasn’t expecting.
I’ve tried a number of things to try to disable them, but nothing seems to be working.
Delivered: firstname.lastname@example.org → email@example.com 'Cron <root@windfarm> [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime) > /dev/null 2>&1'
I’ve tried adding
mailto="" before the cron command.
I’ve also tried appending
> /dev/null 2>&1 as you can see above.
Anyone have some suggestions?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×