Mautic Community Forums

Cronjob errors: [InvalidArgumentException], "mautic:segments"

Cronjob failures.



Hi,



I’m getting strange error:

Code:
$ php /data/www/vhosts/pages.prezentor.com/httpdocs/app/console mastic:segments:update

[InvalidArgumentException]
There are no commands defined in the “mautic:segments” namespace.
Did you mean one of these?
mautic:assets
mautic:send
mautic:emails
mautic:trigger
mautic:webhooks
mautic:campaign
mautic:lists
mautic:process
mautic:check
mautic:rebuild
mautic:email
mautic:leadlists
mautic:campaigns
mautic:update
mautic:install
mautic:translation
mautic:theme
mautic:transifex
mautic:iplookup
mautic:prepare
mautic:ipdata
mautic:fetch
mautic


Any idea?

Cronjob failures.

Hi,

I’m getting strange error:

$ php /data/www/vhosts/pages.prezentor.com/httpdocs/app/console mastic:segments:update
 
[InvalidArgumentException]                                         
 There are no commands defined in the "mautic:segments" namespace.  
 Did you mean one of these?                                         
     mautic:assets                                                  
     mautic:send                                                    
     mautic:emails                                                  
     mautic:trigger                                                 
     mautic:webhooks                                                
     mautic:campaign                                                
     mautic:lists                                                   
     mautic:process                                                 
     mautic:check                                                   
     mautic:rebuild                                                 
     mautic:email                                                   
     mautic:leadlists                                               
     mautic:campaigns                                               
     mautic:update                                                  
     mautic:install                                                 
     mautic:translation                                             
     mautic:theme                                                   
     mautic:transifex                                               
     mautic:iplookup                                                
     mautic:prepare                                                 
     mautic:ipdata                                                  
     mautic:fetch                                                   
     mautic                                                         

Any idea?

Damn it!!! Shame on me. Thank you.

Actually, looks like it’s error during copy/paste or autocorrection by Safari. In my crontab it looks okay:

php /data/www/vhosts/pages.prezentor.com/httpdocs/app/console mautic:segments:update

Thx, it works.
I’m setting mautic up first time and followed documentation. Maybe some sort of typo somewhere or download link points to wrong version?