# Cron just returns list of available commands

**URL:** https://forum.mautic.org/t/cron-just-returns-list-of-available-commands/5687
**Category:** Product Support
**Created:** [March 21, 2016, 6:23pm UTC](https://forum.mautic.org/t/cron-just-returns-list-of-available-commands/5687 "2016-03-21T18:23:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![siparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/siparker/32/724_2.png) [@siparker](https://forum.mautic.org/u/siparker)
#### Post date: [March 21, 2016, 6:23pm UTC](https://forum.mautic.org/t/cron-just-returns-list-of-available-commands/5687/1 "2016-03-21T18:23:47Z")

</div>

I have php /home/xxxx/public\_html/crm/app/console mautic:emails:process running as a cron.  
  
  
  
instead of the cron running the command it returns a list of available commands. This is just the top half.  
  
  
  
What am i missing?

Code:

Mautic version 1.3.1 - app/prod

Usage:  
command [options] [arguments]

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

Available commands:  
help Displays help for a command  
list Lists commands  
assets  
assets:install Installs bundles web assets under a public web directory  
bazinga  
bazinga:oauth-server:clean Clean expired tokens  
cache  
cache:clear Clears the cache  
cache:warmup Warms up an empty cache  
config  
config:debug Dumps the current configuration for an extension  
config:dump-reference Dumps the default configuration for an extension  
container  
container:debug Displays current services for an application  
debug

---

<div class="post-metadata">

### Author: ![siparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/siparker/32/724_2.png) [@siparker](https://forum.mautic.org/u/siparker)
#### Post date: [March 21, 2016, 6:23pm UTC](https://forum.mautic.org/t/cron-just-returns-list-of-available-commands/5687/2 "2016-03-21T18:23:47Z")

</div>

I have php /home/xxxx/public\_html/crm/app/console mautic:emails:process running as a cron.

instead of the cron running the command it returns a list of available commands. This is just the top half.

What am i missing?

[code]Mautic version 1.3.1 - app/prod

Usage:  
command [options] [arguments]

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

Available commands:  
help Displays help for a command  
list Lists commands  
assets  
assets:install Installs bundles web assets under a public web directory  
bazinga  
bazinga:oauth-server:clean Clean expired tokens  
cache  
cache:clear Clears the cache  
cache:warmup Warms up an empty cache  
config  
config:debug Dumps the current configuration for an extension  
config:dump-reference Dumps the default configuration for an extension  
container  
container:debug Displays current services for an application  
debug  
[/code]

---

<div class="post-metadata">

### Author: ![siparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/siparker/32/724_2.png) [@siparker](https://forum.mautic.org/u/siparker)
#### Post date: [March 21, 2016, 7:04pm UTC](https://forum.mautic.org/t/cron-just-returns-list-of-available-commands/5687/3 "2016-03-21T19:04:54Z")

</div>

i have tried everything now. just dont seem to be able to send emails out.  
this is mega frustrating

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [March 22, 2016, 2:40pm UTC](https://forum.mautic.org/t/cron-just-returns-list-of-available-commands/5687/4 "2016-03-22T14:40:26Z")

</div>

Seems like PHP doesn’t recognize the command arguments. Make sure that [register\_argc\_argv](http://php.net/manual/en/ini.core.php#ini.register-argc-argv) is enabled on your server.
