Mautic Community Forums

Cron just returns list of available commands

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

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]

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

Seems like PHP doesn’t recognize the command arguments. Make sure that register_argc_argv is enabled on your server.