Description
Keeps the Mautic database small. The mautic:housekeeping command deletes old rows from Mautic's largest tables: contact and campaign event logs, the email stats of closed emails and their devices, page hits, unused IP addresses, and contacts that were never identified and never active. It can also empty the tokens of old email stats, and optimize the tables after a cleanup.
Large cleanups run in batches, can stop after a set number of rows, and can keep a copy of every deleted row. A dry run shows the counts first. Emails you list, and emails that a segment filter names, keep their rows, so segments stay right.
Started from Leuchtfeuer's Housekeeping bundle. Works with Mautic 5.2 on PHP 8.1 to 8.3 and Mautic 7.2 on PHP 8.2 to 8.4. Every option, and how to move from Leuchtfeuer's plugin, are in the README.
Repository statistics
0
0
0
0
Install instructions
-
Open your terminal and navigate to your Mautic root directory.
-
Run the following command to install the plugin:
php bin/console mautic:marketplace:install author/plugin-name-bundle -
Go to Settings > Plugins in the Mautic UI.
-
Find it on the screen and click to configure the plugin.
-
Download and unzip the plugin.
-
Rename the folder so it matches the internal bundle name, for example
MauticRecaptchaBundleorCustomObjectBundle. -
Upload the folder to the
/plugins/directory of your Mautic installation, for example/var/www/mautic/plugins/MyCustomPluginBundle/. -
Go to Settings > Plugins and click
Install/Upgrade Plugins. -
Once done, find it on the screen and click to configure the plugin.