How do I disable root cron job emails?

First, you'll need to log in as root via SSH. Once logged in, I suggest choosing your favorite editor. For me, it's nano, so for me, I would run:

export EDITOR=nano

If it's not installed you'll need to download it like this:

yum install nano

Next, you need to open crontabs to make a quick change by doing this: 

crontab -e

Once the crontab file is open, you need to add this to the first line of the file.


Then save the file and exit. You will no longer get emails from cronjobs sent to root directly from the server. This is mostly done on cPanel servers because cPanel already emails you if there is an issue.

  • cronjob, root, disable, crontab, mailto
  • 320 Users Found This Useful
Was this answer helpful?

Related Articles

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl

Do you troubleshoot scripts and apps?

Hello,Sorry, but troubleshooting sripts and apps needs to be done by the scipt maker or a...

How to use PHP-CLI

You would call '/usr/local/bin/php' if you need the php-cli binary, and '/usr/bin/php' if you...