Cron Job Update – Mautic 2.0x

If you have a self-hosted version of Mautic, then the updates to cron jobs in Mautic 2.0 definitely impacts you.

One of the areas that Mautic is improving upon is industry standardization.  Many of the terms used in Mautic before v1.4 were updated.  With this release, we brought the terminology and functionality of the cron jobs into line as well.
Here are the updated cron jobs:

  • path/to/php path/to/mautic/app/console mautic:segments:update
  • path/to/php path/to/mautic/app/console mautic:campaigns:rebuild
  • path/to/php path/to/mautic/app/console mautic:campaigns:trigger
  • path/to/php path/to/mautic/app/console mautic:emails:send
  • path/to/php path/to/mautic/app/console mautic:social:monitoring

If you’re wondering which cron jobs these replace, Don has provided a great overview at https://www.mautic.org/community/index.php/4855-2-0-new-mautic-cli-commands

Watch the Video:

 

If you’d like to suggest a topic, please head over to the #support channel and message @imrodmartin.

You may also like...

4 Responses

  1. lewis says:

    Jesh. I spent a whole day messing around with this trying to get it to work. Googled and searched like crazy and feeling like a failure. THEN, this ROD guy’s Minute long YouTube explanation cleared the skies and the angels from the heavens gave me a cron job I will never forget. Thank you sir for being such a grand teacher in a pile of crazy code.

  2. Jorge H says:

    I spent few days trying to fix my cron jobs issue. Thanks a lot for the video!

  3. Yuvaraj says:

    I have wasted my precious 15 days to fix up the cron jobs issue. Your YouTube revealed the details about cron jobs. Thanks for this informative blog which you have uploaded

  4. Greg says:

    I’m running on a Linux shared server and running PHP Version 7.0.7 and this is what error I keep getting.

    PHP Parse error: syntax error, unexpected ‘.’, expecting ‘,’ or ‘;’ in /home/usr/public_html/mautic/app/bundles/EmailBundle/EventListener/ProcessReplySubscriber.php on line 26

    Now, line 26 shows this:
    const CACHE_KEY = self::BUNDLE.’_’.self::FOLDER_KEY;

    Any idea of what is wrong? I asked my host just now and this was their reply: “The error which you are receiving is due to the scripts you are using, please contact your developer to fix it”.

    I’ve made a post over here as well but I would like to get as many eyeballs on this as I can to help: https://www.mautic.org/topic/how-to-determine-if-cron-jobs-running-properly/#post-105310

Leave a Reply

Your email address will not be published. Required fields are marked *