Home » Home Server » Stop cron email notifications

Stop cron email notifications

written by Anand June 10, 2010

I recently setup my first cron activity to run daily. But I started getting output of the execution. This although at the beginning reassured me that everything fine has become an annoyance recently since I know its working well. So this is what I did to stop cron email notifications.

sudo nano -w /etc/cron.daily/dailyjob

Add “> /dev/null 2>&1” at the end of the command. This redirects the output to /dev/null, which means we do not care to see the output.

command > /dev/null 2>&1

Save and exit. Thats it. This should those annoying (at least to me) daily output emails.

IPVanish VPN Exclusive Offer - only $3.25/month:
VPN Guides
Windows, Android, Ubuntu
Kodi OpenVPN
OSMC on RPi
♦ Hide your browsing (no logs), Anonymize Streaming and Downloads
♦ Circumvent Geo/Country Restrictions and access worldwide content
♦ Works on Windows, Mac, Linux, Android, iOS, Router, and more
♦ Money back guarantee - Sign Up Now

Related Articles