Which Mautic cronjobs needs to be set up?

You are here:
< Back

When it comes to Mautic health and proper operation, cronjob settings are crucial.

There are 3 kinds of cron jobs, you need to set:

  1. Every day operations
    Refresh segments: set it to run at 5, 20, 35, 50 minutes every hour
    php /var/www/html/app/console mautic:segments:update
    Update campaigns: set it at 10, 25, 40, 55 minutes every hour
    php /var/www/html/app/console mautic:campaigns:update
    Trigger Campaigns: set it at 15, 30, 45, 00 minutes every hour
    php /var/www/html/app/console mautic:campaigns:trigger
  2. Daily cleaning and housekeeping
    Download ip database: set it to run 1x a day
    php /var/www/html/app/console mautic:iplookup:download
    Schedule reports: set it 1x a day. Whenever you want to send to your clients
    php /var/www/html/app/console mautic:reports:scheduler
    Remove (90 days) old data: set it to run 1x a day
    php /var/www/html/app/console mautic:maintenance:cleanup –days-old=90
  3. Optional: campaign / smtp related
    Send broadcasts: run it every 10 minutes
    php /var/www/html/app/console mautic:broadcasts:send
    Fetch feedback loop emails: run every 20 minutes
    php /var/www/html/app/console mautic:email:fetch