Empty the cPanel system account and stop Cron notifications filling it up
Every hosting account with cPanel has a system email account, named after your cPanel username (without an @). It receives automatic notifications, mainly the output of scheduled tasks (Cron). If you don't keep an eye on it, it can pile up thousands of messages and take up several gigabytes of your hosting space.
Why it fills up
By default, every time a Cron job produces any output, cPanel sends an email with it. A job that runs every few minutes generates hundreds of emails a day, and over time they take up a lot of space.
Empty the system account
With Email Disk Usage (recommended)
This is the quickest way to delete lots of emails at once:
- Log in to cPanel from the client area.
- Open Email > Email Disk Usage.
- In the Account drop-down, choose (System Account).

- You'll see the folders (INBOX, Sent…) with how much space each one uses. Click Manage next to the one you want to clean up.
- Choose what to delete:
- All messages: every email in the folder.
- year old or more: those older than a year.
- Previously viewed: those that have already been read.
- 30 MB in size or more: those that are 30 MB or larger.
- Click Delete Permanently. The deletion can't be undone.
If you use the Cron notifications to spot errors, have a look at the most recent ones before deleting them all: they can tell you which job is failing.
From webmail
If there are only a few messages:
- In cPanel, open Email > Email Accounts.
- Find the system account (your cPanel username, without an
@) and click Check Email. - Select the messages, delete them and empty the Trash.
For more ways to free up email space, see free up space in an email account.
Stop receiving Cron notifications
- Go to cPanel > Advanced > Cron Jobs.
- Under Current Cron Jobs, click Edit on each job.
- Add this to the end of the command:
> /dev/null 2>&1
For example:
php /home/usuario/public_html/script.php > /dev/null 2>&1
- Click Edit Line to save.
This way the normal output and the errors of that job are discarded and no email is sent.
Receive notifications from some jobs only
If you want some jobs to notify you and others not to:
- In Cron Jobs, under Cron Email, enter the address where you want to receive the notifications (for example,
admin@yourdomain.com) and click Update Email. They'll then stop arriving in the system account. - Add
> /dev/null 2>&1to the end of the jobs you don't want notifications from. - Leave unchanged the jobs whose output you do want to receive.
Putting
MAILTO="admin@yourdomain.com"at the start of a job's command doesn't work: cPanel doesn't treat it as the recipient of the notifications and the email will keep going to the general Cron address.
If a script needs to notify different people, the most reliable option is for the script to send the email itself (for example, with your application's mail function) and for you to add > /dev/null 2>&1 to it in Cron.
You'll find more details on creating and editing jobs in the Cron jobs guide.
You may also find useful
- What happens to email when the mailbox or hosting is full Tell the quotas apart, free up space and check whether a message was deferred or needs the sender to...
- Download your email to your computer and delete it from the server Three ways to keep your email on your computer and free up space on the server: copy it to local fol...
- Access your email through webmail and use Roundcube Log in to your email from the browser at yourdomain.com/webmail with the full address and its passwo...
- Add a safe sender in SpamAssassin Shows how to lower the SpamAssassin score of a specific sender address and explains why this list do...
Something wrong or out of date? Tell us and we will review it.