Home » Home Server » Stop cron email notifications

Stop cron email notifications

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.

We Are Hiring: Familiar with Media Streaming, HTPC, Home Server, Smart Home, and Home Automation topics? Write about it and earn money. No writing experience needed. APPLY HERE.

Get 20% OFF with IPVanish VPN:

♦   Hide your browsing and streaming activity: No logs and no tracking
♦   Access geo-restricted content from anywhere
♦   Encrypt and anonymize: Kodi, Plex, Downloads, Personal Info
♦   Windows, Mac, Linux, Android, iOS, Router, and more.
♦   Money back guarantee - Sign Up Now

About the author

Anand

Anand is a self-learned computer enthusiast, a part-time blogger, and a Food Scientist by career. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs on htpcbeginner.com and smarthomebeginner.com.

Archives

Join the other 110,000 followers