---
title: How to Disable Mailing from CronJobs in cPanel
description: Sometimes, you may need to have your cronjobs run but you do not want them to send mails to your inbox for several reasons. This can be achieved in cPanel easily. To prevent your cronjobs from sending mail, perform the…
url: "https://truehost.com/support/knowledge-base/disable-mailing-from-cronjobs-in-cpanel/"
updated: "2024-06-07"
---

# How to Disable Mailing from CronJobs in cPanel

Sometimes, you may need to have your cronjobs run but you do not want them to send mails to your inbox for several reasons. This can be achieved in cPanel easily.

To prevent your cronjobs from sending mail, perform the steps below:

1.Login to the cPanel

2.Navigate to **Cron Jobs** tab.

![](https://truehost.com/support/wp-content/uploads/2022/05/Screenshot-2022-05-06-at-13-40-26-cPanel-Main.png)

3. Scroll down to the list of your **Cron Jobs,** under**Current Cron Jobs**

4. Click Edit

![](https://truehost.co.ke/support/wp-content/uploads/2021/07/Screenshot-2021-07-01-at-20-36-30-cPanel-Cron-Jobs-1024x172.png)

5. At the end of your command, add **>/dev/null 2>&1**

![](https://truehost.co.ke/support/wp-content/uploads/2021/07/Screenshot-2021-07-01-at-20-36-30-cPanel-Cron-Jobs-1-1024x172.png)

Notes about cron jobs

- If yiu want to receive mails when cron executes, ensure the enter a correct email address. See image below.

![](https://truehost.co.ke/support/wp-content/uploads/2021/07/Screenshot-2021-07-01-at-20-40-48-cPanel-Cron-Jobs-1024x231.png)

- If you put a wrong email address on the slot above and cron jobs fail to send mails successfully, you will not be able to send mails from any of your email accounts. The cron jobs failing to send mails affect your account's general ability to send mail. It is crucial to configure a correct address or disable mailing as guided above.
