Clean database from old entries with command line

Hello,

My idea would be to add a command line to clean the database of old entries.
This would be useful in the case of Mautic instance with a lot of contacts, a lot of campaigns and a lot of JS tracker calls.

What do you think about this?

Pierre

Hi,
check this:

1 Like

Hello @joeyk,

I know this set of rules. I already apply some of them.
I propose to put this in the form of a script that can be triggered via a CRON job.

What do you think?

Pierre

Hello @pierre_a ,
You can already add these scripts to your cron.
Add timing in front and go.

2 Likes