# Cron Jobs 500 Internal Error Server

**URL:** <https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705>\
**Category:** Product Support\
**Created:** [June 11, 2017, 10:50pm UTC](https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705 "2017-06-11T22:50:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagonb100](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@thiagonb100](https://forum.mautic.org/u/thiagonb100)\
**Post date:** [June 11, 2017, 10:50pm UTC](https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705/1 "2017-06-11T22:50:46Z")

</div>

Hi,  
  
  
  
I’m having problems with the cron jobs configurations and can’t find solutions anywhere. If someone could help, please!  
  
  
  
This are my cron jobs:  
  
  
  
 ![mautic-screenshot.jpg](http://www.trendsperfumes.com/wp-content/uploads/2017/06/mautic-screenshot.jpg)  
  
  
  
But my campaigns are not working. I receive these emails as logs:  
  
  
  
For mautic:segments:update:  
  
“Reconstruir contatos para o segmento 1 (Rebuild contacts for segment 1)  
  
Status: 500 Internal Server Error  
  
Content-type: text/html; charset=UTF-8”  
  
  
  
For mautic:emails:send:  
  
“Content-type: text/html; charset=UTF-8”  
  
  
  
For mautic:email:fetch:  
  
“No mailboxes are configured.  
  
Content-type: text/html; charset=UTF-8”  
  
  
  
For mautic:campaigns:rebuild:  
  
“Reconstruindo leads para lista 1 (Rebuilding leads for list 1)  
  
total de 63 lead(s) à serem adicionados em lotes de 300 (Total of 63 leads to be added in batches of 300))  
  
0/63 [\>---------------------------] 0%Status: 500 Internal Server Error  
  
Content-type: text/html; charset=UTF-8”  
  
  
  
For mautic:campaigns:trigger:  
  
“Status: 500 Internal Server Error  
  
Content-type: text/html; charset=UTF-8”  
  
  
  
Also, my “/public\_html/mautic/app.log\_error” shows it every five minutos:  
  
[11-Jun-2017 23:20:03 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 65536 bytes) in /home/website/public\_html/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 480  
  
[11-Jun-2017 23:25:12 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36864 bytes) in /home/website/public\_html/mautic/app/cache/prod/translations/catalogue.pt\_BR.be29aec3e037ad56180e85d033e5dfb086e2c796.php on line 2512  
  
[11-Jun-2017 23:30:02 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/website/public\_html/mautic/app/bundles/PluginBundle/Integration/AbstractIntegration.php on line 1663  
  
  
  
Note: The only way that I got to increase my PHP7 memory limit was through .user.ini file (via php.ini doesn’t work), I think due to my resell shared hosting ([https://wiki.locaweb.com.br/pt-br/Alterar\_diretivas\_do\_PHP\_-\_cPanel](https://wiki.locaweb.com.br/pt-br/Alterar_diretivas_do_PHP_-_cPanel)).  
  
  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![thiagonb100](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@thiagonb100](https://forum.mautic.org/u/thiagonb100)\
**Post date:** [June 11, 2017, 10:50pm UTC](https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705/2 "2017-06-11T22:50:46Z")

</div>

Hi,

I’m having problems with the cron jobs configurations and can’t find solutions anywhere. If someone could help, please!

This are my cron jobs:

![](http://www.trendsperfumes.com/wp-content/uploads/2017/06/mautic-screenshot.jpg)

But my campaigns are not working. I receive these emails as logs:

For mautic:segments:update:  
“Reconstruir contatos para o segmento 1 (Rebuild contacts for segment 1)  
Status: 500 Internal Server Error  
Content-type: text/html; charset=UTF-8”

For mautic:emails:send:  
“Content-type: text/html; charset=UTF-8”

For mautic:email:fetch:  
“No mailboxes are configured.  
Content-type: text/html; charset=UTF-8”

For mautic:campaigns:rebuild:  
“Reconstruindo leads para lista 1 (Rebuilding leads for list 1)  
total de 63 lead(s) à serem adicionados em lotes de 300 (Total of 63 leads to be added in batches of 300))  
0/63 [\>---------------------------] 0%Status: 500 Internal Server Error  
Content-type: text/html; charset=UTF-8”

For mautic:campaigns:trigger:  
“Status: 500 Internal Server Error  
Content-type: text/html; charset=UTF-8”

Also, my “/public\_html/mautic/app.log\_error” shows it every five minutos:  
[11-Jun-2017 23:20:03 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 65536 bytes) in /home/website/public\_html/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 480  
[11-Jun-2017 23:25:12 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36864 bytes) in /home/website/public\_html/mautic/app/cache/prod/translations/catalogue.pt\_BR.be29aec3e037ad56180e85d033e5dfb086e2c796.php on line 2512  
[11-Jun-2017 23:30:02 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/website/public\_html/mautic/app/bundles/PluginBundle/Integration/AbstractIntegration.php on line 1663

Note: The only way that I got to increase my PHP7 memory limit was through .user.ini file (via php.ini doesn’t work), I think due to my resell shared hosting ([https://wiki.locaweb.com.br/pt-br/Alterar\_diretivas\_do\_PHP\_-\_cPanel](https://wiki.locaweb.com.br/pt-br/Alterar_diretivas_do_PHP_-_cPanel)).

Thanks!

---

<div class="post-metadata">

**Author:** ![paulomcguinee](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@paulomcguinee](https://forum.mautic.org/u/paulomcguinee)\
**Post date:** [June 19, 2017, 8:55am UTC](https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705/3 "2017-06-19T08:55:00Z")

</div>

Did you find a solution? I am having the same issue.

---

<div class="post-metadata">

**Author:** ![paulomcguinee](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@paulomcguinee](https://forum.mautic.org/u/paulomcguinee)\
**Post date:** [June 29, 2017, 9:40am UTC](https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705/4 "2017-06-29T09:40:57Z")

</div>

Thanks finally sorted this - I updated to PHP 7.1 and asked my host to up the memory limits (despite having done so manually in php.ini myself) all working apart from Hubspot integration not syncing contacts - but I have made another post about that.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [June 29, 2017, 6:56pm UTC](https://forum.mautic.org/t/cron-jobs-500-internal-error-server/8705/5 "2017-06-29T18:56:47Z")

</div>

Thanks finally sorted this - I updated to PHP 7.1 and asked my host to up the memory limits (despite having done so manually in php.ini myself) all working apart from Hubspot integration not syncing contacts - but I have made another post about that.

Great
