team
October 5, 2023, 2:55pm
1
EasyApache 4
My Mautic version is: 45_mautic-449
My PHP 80, PHP 8.0.29-1.1.3.cpanel
extention: php80-php-fileinfo
cPanel & WHM on AlmaLinux
OS: AlmaLinux v8.8.0 STANDARD kvm
cPanel Version 112.0.5
Hi everyone,
Yesterday, we launched a 4K email campaign, and the Mautic Cron Jobs did not disburse the email messages in intervals of 13 emails within a 5-minute Cron Job interval.
See the screenshot image of the exponential delivery:
Here are the Cron Job configurations:
5min
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:segments:update
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:campaigns:update
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:campaigns:trigger
5min
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:emails:send
twice a month
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:iplookup:download
Can you recommend either a new Mautic Cron Job or Mautic configuration designed to gradually release email messages over time?
Thanks,
Hal
devCED Team
Here are mine.
I place it all in one batch file then run the batch file every minute but I limit each process to about 150 emails per batch so one cronjob would be finish before it execute the next 150 emails.
There a dicussion about batch file cronjon in this forum. Try do a search under poster name “joeyk” and subject “batch”.
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:broadcasts:send --limit=150
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:emails:send --message-limit=150
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:campaigns:rebuild --batch-limit=300
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:segment:update --batch-limit=900
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:campaigns:trigger
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:import --limit=500
/usr/local/bin/php /home/agwmadmin/mas.agwm.org/bin/console mautic:reports:scheduler
1 Like
team
October 5, 2023, 9:40pm
3
Why did you not include, mautic:campaigns:update,
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:campaigns:update
Hi @team ,
bill did not include “mautic:campaigns:update” because he uses “mautic:campaigns:rebuild” instead. They do the exact same thing, but have different names due to legacy reasons.
Greets
Leon
1 Like
team
October 6, 2023, 10:28am
5
Hi, Leon & Bill,
For testing purposes, is there a minimum number of sent (e.g., < 2, 3, 4) email messages required to trigger a batch delivery?
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:broadcasts:send --limit=150 >/dev/null 2>&1
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:emails:send --message-limit=150 >/dev/null 2>&1
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:campaigns:rebuild --batch-limit=300 >/dev/null 2>&1
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:segment:update --batch-limit=900 >/dev/null 2>&1
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:campaigns:trigger >/dev/null 2>&1
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:import --limit=500 >/dev/null 2>&1
/usr/local/bin/php /home/mautic/public_html/mautic.devced.com/bin/console mautic:reports:scheduler >/dev/null 2>&1
Regards,
Hal
DevCEDTeam
Hi @team ,
no, there is no minimum requirement of emails.
Greetz
Leon
2 Likes
Check this video by @joeyk out.
system
Closed
October 8, 2023, 1:32am
8
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.