Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ebextensions/80_cron_start.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ files:
# SEGMENTS
# To keep the segments current.
# Run up to 3 batches of 300 contacts per segment, then move on to the next.
*/10 * * * * root cronloop mautic:segments:update --max-contacts=10000 --batch-limit=10000 --quiet >/dev/null 2>&1
*/10 * * * * root cronloop mautic:segments:update --max-contacts=1000 --batch-limit=1000 --quiet >/dev/null 2>&1

# CAMPAIGNS
# To keep campaigns updated with applicable contacts.
# Run up to 3 batches of 300 contacts per campaign, then move on to the next.
*/10 * * * * root cronloop mautic:campaigns:rebuild --max-contacts=5000 --batch-limit=1000 --quiet >/dev/null 2>&1
*/10 * * * * root cronloop mautic:campaigns:rebuild --max-contacts=1000 --batch-limit=1000 --quiet >/dev/null 2>&1
# To execute campaigns events.
*/10 * * * * root /bin/bash /var/app/current/scripts/mautic-worker.sh >/dev/null 2>&1
# If you don't want to use the worker script, use the following instead.
Expand Down
2 changes: 1 addition & 1 deletion scripts/mautic-segment-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ then
IFS=','
for segment in $MAUTIC_HV_SEGMENTS
do
cronloop mautic:segments:update --list-id=$segment --batch-limit=10000 --max-contacts=10000 &
cronloop mautic:segments:update --list-id=$segment --batch-limit=500 --max-contacts=500 &
done
fi