[2.0] New Mautic cli commands

  1. last year

    DonGilbert

    5 Jul 2016 Administrator
    Edited last year by DonGilbert

    The cli commands and cron entries have been updated to be more consistent in Mautic 2.0. You'll find the list of changes in the block below. If you are using any of the commands listed underneath a numbered command, please change it it to the syntax of the numbered command above it. For example, if you were updating your segments with mautic:leadlists:update, it should be updated to mautic:segments:update.

    1) mautic:campaigns:trigger
     - mautic:campaign:trigger
     - mautic:trigger:campaigns
     - mautic:trigger:campaign
    
    2) mautic:campaigns:rebuild
     - mautic:update:campaigns
     - mautic:rebuild:campaigns
     - mautic:campaigns:update
    
    3) mautic:iplookup:download
     - mautic:fetch:ipdata
     - mautic:ipdata:fetch
     - mautic:ipdata:update
     - mautic:update:ipdata
    
    4) mautic:emails:send
     - mautic:send:emails
     - mautic:process:email
     - mautic:process:emails
     - mautic:email:process
     - mautic:emails:process
     - mautic:send:email
    
    5) mautic:email:fetch
     - mautic:fetch:email
     - mautic:email:fetch
     - mautic:fetch:mail
     - mautic:check:email
     - mautic:check:mail
    
    6) mautic:segments:update
     - mautic:contactsegments:update
     - mautic:update:contactsegments
     - mautic:update:segments
     - mautic:rebuild:contactsegments
     - mautic:contactsegments:rebuild
     - mautic:segments:rebuild
     - mautic:rebuild:segments
     - mautic:lists:update
     - mautic:update:leadlists
     - mautic:update:lists
     - mautic:rebuild:leadlists
     - mautic:leadlists:rebuild
     - mautic:lists:rebuild
     - mautic:rebuild:lists
     - mautic:leadlists:update
  2. Many thanks @DonGilbert

  3. Is there a complete list of possible cron jobs we might need. I'm trying to see if we need one for text messages?

  4. Deleted last year by eplaku
  5. Thanks :)

  6. Can I suggest add some descriptions to those tasks? To know why and when should we run them. It`ll be helpful for new users.

  7. +1

  8. Where might I find instructions on how to troubleshoot my cron jobs? Campaign emails are not being triggered. I suspect the cron jobs, but I'm not an expert.

  9. 2.2.1 install magic but I do not start the campaign actions
    These som my conjops, I have an error?

    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:webhooks:process > /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:campaigns:rebuild > /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:campaigns:trigger> /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:segments:update > /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:social:monitoring > /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/console mautic:emails:send > /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:email:fetch > /dev/null 2>&1
    /usr/local/cpanel/3rdparty/bin/php/home/misitio/midominio/app/console mautic:iplookup:download > /dev/null 2>&1

    -image-

    -image-

  10. Can anyone identify which of these scripts need to be manually set up as cron jobs on an AWS installation? (I'm deploying through Bitnami)

  11. How do I access /app/console, and is it possible to remove the line: set_time_limit(0); ?

  12. 11 months ago

    Anyone can help me with cron jobs in centos 6.8
    I have this way and are not working
    15 minutes
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:webhooks:process

    10 minutes
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:segments:update
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:campaigns:rebuild
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:campaigns:trigger

    Every minutes
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:emails:send

    Once per day
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:email:fetch
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:iplookup:download

  13. /usr/local/bin/php its php patch in my vps web server

  14. must use > /dev/null 2>&1 or --env=prod?

  15. @nehemias Anyone can help me with cron jobs in centos 6.8
    I have this way and are not working
    15 minutes
    /usr/local/bin/php/home/USERNAME/public_html/mautic/app/console mautic:webhooks:process

    Why is this one necessary?

  16. What would be the cronjob cmd to fetch data from Sugarcrm?
    Could you confirm that one?

    Regards
    Miami!

  17. Imautic i dont know for what cron working webhooks:process but they put in the list and i put jajajajaa

  18. Miami you tell me chineses jajajaaja

  19. Nehemias, If you go to the plugins section, you will see Sugarcrm. Under features tap, you will see that now you can pull contacts from integration. I was referring to the command to pull those contact from integration...
    I tried: console mautic:integration:fetchleads --integration=Sugarcrm >>

    but didn't work.

    Regards

  20. 10 months ago

    @miami that option is NOT working for SugarCRM/SuiteCRM
    that is why you can fetch leads the only one with Two-way Sync is Salesforce CRM and Hubspot CRM

  21. Newer ›
 

or Sign Up to reply!