# Cron problem - Script Alert and LocalRelay

**URL:** https://forum.mautic.org/t/cron-problem-script-alert-and-localrelay/6920
**Category:** Product Support
**Created:** [December 20, 2016, 8:40pm UTC](https://forum.mautic.org/t/cron-problem-script-alert-and-localrelay/6920 "2016-12-20T20:40:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sammiefields2512](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sammiefields2512](https://forum.mautic.org/u/sammiefields2512)
#### Post date: [December 20, 2016, 8:40pm UTC](https://forum.mautic.org/t/cron-problem-script-alert-and-localrelay/6920/1 "2016-12-20T20:40:33Z")

</div>

Hi  
  
  
  
I’ve set up Mautic to send emails via Amazon SES. Email sending and crons seem to be working OK, but when I set up the crons, I keep receiving 2 emails from my cpanel every hour. I’ve pasted the two emails below.  
  
  
  
I don’t know any programming, so have no idea what these emails mean.  
  
  
  
Any help would be appreciated.  
  
  
  
Best wishes,  
  
Sammie  
  
  
  
============================================  
  
Email 1:  
  
============================================  
  
  
  
lfd on [host.mywebsite.com](http://host.mywebsite.com): LOCALRELAY Alert for random  
  
  
  
Type: LOCALRELAY, Local Account - random  
  
Count: 101 emails relayed  
  
Blocked: No  
  
  
  
Sample of the first 10 emails:  
  
  
  
2016-12-19 17:17:26 1cJ6FK-0000fq-K6 \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
  
2016-12-19 17:17:26 1cJ6FK-0000fs-LM \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1085 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
  
2016-12-19 17:17:26 1cJ6FK-0000fu-Lw \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1347 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
  
2016-12-19 17:18:27 1cJ6GJ-0000hC-BS \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
  
2016-12-19 17:18:27 1cJ6GJ-0000hF-Cj \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1243 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
  
2016-12-19 17:18:27 1cJ6GJ-0000hE-Ca \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1636 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
  
2016-12-19 17:19:27 1cJ6HH-0000iY-2Z \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
  
2016-12-19 17:19:27 1cJ6HH-0000iZ-2f \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1243 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
  
2016-12-19 17:19:27 1cJ6HH-0000ic-2z \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1636 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
  
2016-12-19 17:20:26 1cJ6IE-0000lG-RI \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
  
  
  
============================================  
  
Email 2:  
  
============================================  
  
  
  
lfd on [host.mywebsite.com](http://host.mywebsite.com): Script Alert for ‘/home/random’  
  
  
  
Path: ‘/home/random’  
  
Count: 101 emails sent  
  
  
  
Sample of the first 10 emails:  
  
  
  
2016-12-19 17:17:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:17:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:17:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:18:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:18:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:18:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:19:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:19:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:19:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
2016-12-19 17:20:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
  
  
  
  
  
Possible Scripts:

---

<div class="post-metadata">

### Author: ![sammiefields2512](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sammiefields2512](https://forum.mautic.org/u/sammiefields2512)
#### Post date: [December 20, 2016, 8:40pm UTC](https://forum.mautic.org/t/cron-problem-script-alert-and-localrelay/6920/2 "2016-12-20T20:40:33Z")

</div>

Hi

I’ve set up Mautic to send emails via Amazon SES. Email sending and crons seem to be working OK, but when I set up the crons, I keep receiving 2 emails from my cpanel every hour. I’ve pasted the two emails below.

I don’t know any programming, so have no idea what these emails mean.

Any help would be appreciated.

Best wishes,  
Sammie

# ============================================ Email 1:

lfd on [host.mywebsite.com](http://host.mywebsite.com): LOCALRELAY Alert for random

Type: LOCALRELAY, Local Account - random  
Count: 101 emails relayed  
Blocked: No

Sample of the first 10 emails:

2016-12-19 17:17:26 1cJ6FK-0000fq-K6 \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
2016-12-19 17:17:26 1cJ6FK-0000fs-LM \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1085 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
2016-12-19 17:17:26 1cJ6FK-0000fu-Lw \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1347 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
2016-12-19 17:18:27 1cJ6GJ-0000hC-BS \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
2016-12-19 17:18:27 1cJ6GJ-0000hF-Cj \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1243 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
2016-12-19 17:18:27 1cJ6GJ-0000hE-Ca \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1636 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
2016-12-19 17:19:27 1cJ6HH-0000iY-2Z \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random  
2016-12-19 17:19:27 1cJ6HH-0000iZ-2f \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1243 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
2016-12-19 17:19:27 1cJ6HH-0000ic-2z \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=1636 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:campaig” for random  
2016-12-19 17:20:26 1cJ6IE-0000lG-RI \<= [random@host.mywebsite.com](mailto:random@host.mywebsite.com) U=random P=local S=2328 T=“Cron [random@host](mailto:random@host) php-cli /home/random/public\_html/mywebsite.com/mautic/app/console mautic:segment” for random

# ============================================ Email 2:

lfd on [host.mywebsite.com](http://host.mywebsite.com): Script Alert for ‘/home/random’

Path: ‘/home/random’  
Count: 101 emails sent

Sample of the first 10 emails:

2016-12-19 17:17:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:17:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:17:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:18:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:18:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:18:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:19:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:19:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:19:27 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random  
2016-12-19 17:20:26 cwd=/home/random 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f random

Possible Scripts:
