# Deactivate Cron Job Mail for mautic:segments:update?

**URL:** https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683
**Category:** Product Support
**Created:** [June 8, 2017, 10:03am UTC](https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683 "2017-06-08T10:03:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Apfelbiss](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Apfelbiss](https://forum.mautic.org/u/Apfelbiss)
#### Post date: [June 8, 2017, 10:03am UTC](https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683/1 "2017-06-08T10:03:56Z")

</div>

Hello,  
  
  
  
we added the three standard Cron Jobs with running time every 15 minutes as mentioned in the [documentation](https://mautic.org/docs/en/setup/cron_jobs.html).  
  
  
  
For the Cron Job “mautic:segments:update” we always get an email from “Cron Daemon” every 15 Minutes:  
  
  
  
**Subject: Cron [xxxxxx@server03](mailto:xxxxxx@server03) /usr/local/bin/softlimit -m 150000000 -o 200 -p 80 -t 180 /usr/local/pd-admin2/bin/php-7.0-cli /home/xxxxxx/www.mydomain.de/automation/app/console mautic:segments:update**

Quote:

Rebuilding contacts for segment 1  
0 total contact(s) to be added in batches of 300  
0 total contact(s) to be removed in batches of 300  
0 contact(s) affected

  
Is there any reason why we do get this email every 15 minutes?  
I can't find any information to deactivate this (when there is no error).  
  
Thank you in advance.

---

<div class="post-metadata">

### Author: ![Apfelbiss](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Apfelbiss](https://forum.mautic.org/u/Apfelbiss)
#### Post date: [June 8, 2017, 10:03am UTC](https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683/2 "2017-06-08T10:03:56Z")

</div>

Hello,

we added the three standard Cron Jobs with running time every 15 minutes as mentioned in the [documentation](https://mautic.org/docs/en/setup/cron_jobs.html).

For the Cron Job “mautic:segments:update” we always get an email from “Cron Daemon” every 15 Minutes:

Subject: Cron [xxxxxx@server03](mailto:xxxxxx@server03) /usr/local/bin/softlimit -m 150000000 -o 200 -p 80 -t 180 /usr/local/pd-admin2/bin/php-7.0-cli /home/xxxxxx/www.mydomain.de/automation/app/console mautic:segments:update

[quote]Rebuilding contacts for segment 1  
0 total contact(s) to be added in batches of 300  
0 total contact(s) to be removed in batches of 300  
0 contact(s) affected[/quote]

Is there any reason why we do get this email every 15 minutes?  
I can’t find any information to deactivate this (when there is no error).

Thank you in advance.

---

<div class="post-metadata">

### Author: ![Apfelbiss](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Apfelbiss](https://forum.mautic.org/u/Apfelbiss)
#### Post date: [June 9, 2017, 5:29am UTC](https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683/3 "2017-06-09T05:29:32Z")

</div>

@MxyzptlkFishStix:  
Thank you. [But](https://stackoverflow.com/questions/20810083/how-to-prevent-cron-emails-when-script-writes-to-stdout-and-stderr?answertab=votes#tab-top):

> [@](#):
>
> Be aware that if there is any error sending the email, you will not get any report about it.

Isn’t it possible to deactivate only emails if the Cron Job works fine?

---

<div class="post-metadata">

### Author: ![Apfelbiss](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Apfelbiss](https://forum.mautic.org/u/Apfelbiss)
#### Post date: [June 9, 2017, 1:00pm UTC](https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683/4 "2017-06-09T13:00:32Z")

</div>

Hello,

thank you for that link. That sounds very interesting, but we don’t have the rights to install this by ourselves.

I now added “\> /dev/null” to the cron command and, unlike as expected, still get error emails ([sadly](https://www.mautic.org/community/index.php/7830-mailjet-can-t-send-trigger-mails)).

---

<div class="post-metadata">

### Author: ![Agnon](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Agnon](https://forum.mautic.org/u/Agnon)
#### Post date: [June 12, 2017, 5:54am UTC](https://forum.mautic.org/t/deactivate-cron-job-mail-for-mauticupdate/8683/5 "2017-06-12T05:54:30Z")

</div>

To run cronjobs, you can use webcron like [www.easycron.com](http://www.easycron.com) which allows great control, it sends out alerts email if a cron job fails or succeeds.
