# New cronjob problem

**URL:** <https://forum.mautic.org/t/new-cronjob-problem/8637>\
**Category:** Product Support\
**Created:** [June 1, 2017, 7:03pm UTC](https://forum.mautic.org/t/new-cronjob-problem/8637 "2017-06-01T19:03:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiagosimoes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tiagosimoes/32/69_2.png) [@tiagosimoes](https://forum.mautic.org/u/tiagosimoes)\
**Post date:** [June 1, 2017, 7:03pm UTC](https://forum.mautic.org/t/new-cronjob-problem/8637/1 "2017-06-01T19:03:50Z")

</div>

Hi guys!  
  
I’m using Mautic for a year and until now, everything was amazing.  
  
But sudeenly, it stops from sending campaigns emails and also queue emails.  
  
The only way that i can send emails is by broadcast and i have to set the emails to be sent immediataly.  
  
I set some parameter in cronjobs log to see whats going on, but the log files only contain this:  
  
  
  
_"Mautic version 2.8.1 - app/prod_  
  
   
  
_Usage:_  
  
_command [options] [arguments]_  
  
   
  
_Options:_  
  
_-h, --help Display this help message_  
  
_-q, --quiet Do not output any message_  
  
_-V, --version Display this application version_  
  
_–ansi Force ANSI output_  
  
_–no-ansi Disable ANSI output_  
  
_-n, --no-interaction Do not ask any interactive question_  
  
_-s, --shell Launch the shell._  
  
_–process-isolation Launch commands from shell as a separate process._  
  
_-e, --env=ENV The Environment name. [default: “prod”]_  
  
_–no-debug Switches off debug mode._  
  
_-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug_  
  
   
  
_Available commands:_  
  
_help Displays help for a command_  
  
_list Lists commands_  
  
_assets_  
  
_assets:install Installs bundles web assets under a public web directory_  
  
_…_  
  
_…_  
  
_…_  
  
**Its continue with tons of possible commands and i think i do not need to put all here.**  
  
  
  
This is the way my cronjobs commands are set:  
  
php /home2/hp20/public\_html/emails/entrar/app/console mautic:segments:update \> /home2/hp20/mautic\_segments.log 2\>&1 --env=prod  
  
  
  
php /home2/hp20/public\_html/emails/entrar/app/console mautic:campaigns:rebuild \> /home2/hp20/mautic\_campaigns\_rebuild.log 2\>&1 --env=prod  
  
  
  
  
  
Anyone have any idea that can use to solve this problem?  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![tiagosimoes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tiagosimoes/32/69_2.png) [@tiagosimoes](https://forum.mautic.org/u/tiagosimoes)\
**Post date:** [June 1, 2017, 7:03pm UTC](https://forum.mautic.org/t/new-cronjob-problem/8637/2 "2017-06-01T19:03:50Z")

</div>

Hi guys!  
I’m using Mautic for a year and until now, everything was amazing.  
But sudeenly, it stops from sending campaigns emails and also queue emails.  
The only way that i can send emails is by broadcast and i have to set the emails to be sent immediataly.  
I set some parameter in cronjobs log to see whats going on, but the log files only contain this:

[i]"Mautic version 2.8.1 - app/prod

Usage:  
command [options] [arguments]

Options:  
-h, --help Display this help message  
-q, --quiet Do not output any message  
-V, --version Display this application version  
–ansi Force ANSI output  
–no-ansi Disable ANSI output  
-n, --no-interaction Do not ask any interactive question  
-s, --shell Launch the shell.  
–process-isolation Launch commands from shell as a separate process.  
-e, --env=ENV The Environment name. [default: “prod”]  
–no-debug Switches off debug mode.  
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:  
help Displays help for a command  
list Lists commands  
assets  
assets:install Installs bundles web assets under a public web directory  
…  
…  
…[/i]  
Its continue with tons of possible commands and i think i do not need to put all here.

This is the way my cronjobs commands are set:  
php /home2/hp20/public\_html/emails/entrar/app/console mautic:segments:update \> /home2/hp20/mautic\_segments.log 2\>&1 --env=prod

php /home2/hp20/public\_html/emails/entrar/app/console mautic:campaigns:rebuild \> /home2/hp20/mautic\_campaigns\_rebuild.log 2\>&1 --env=prod

Anyone have any idea that can use to solve this problem?  
Thanks!
