From ebfd7a4e308df4b66a2d577e7fc0229039490ca7 Mon Sep 17 00:00:00 2001 From: Jesse Ellis dba My BPO Consultant <34029756+MyBpoConsultant@users.noreply.github.com> Date: Fri, 11 Mar 2022 13:51:24 -0500 Subject: [PATCH] Update Cron Job Docs --- pages/03.Setup/03.Cron Jobs/docs.en.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pages/03.Setup/03.Cron Jobs/docs.en.md b/pages/03.Setup/03.Cron Jobs/docs.en.md index 650ea241b..6170e207b 100644 --- a/pages/03.Setup/03.Cron Jobs/docs.en.md +++ b/pages/03.Setup/03.Cron Jobs/docs.en.md @@ -138,6 +138,24 @@ Use ‘--gdpr’ flag to delete data to fulfill GDPR European regulation. This w ``` php /path/to/mautic/bin/console mautic:maintenance:cleanup --days-old=365 --dry-run ``` +### De-Duplicate Contacts + +This cron job will find contacts with the same unique identifiers and merge them. By default, the records are merged from oldest into newest but that can be changed with the flag --newest-into-oldest. + +Regardless of which record is merged into which, the latest modified record's custom field data is used (except where it is empty, Mautic will error on the side of not completely losing data). Also the latest last active date is preserved and the oldest date identified date. + +Contacts with conflicting unique identifiers when there is more than one unique identifier are not merged. + +``` +php /path/to/mautic/bin/console mautic:contacts:dedup +``` +This command will find Contacts and merge unique values from oldest into newest. + +``` +php /path/to/mautic/bin/console mautic:contacts:dedup --newest-into-oldest +``` +This command will find Contacts and merge unique values from newest into oldest. + ### MaxMind CCPA compliance