Hi Thomas,

Thank you, so i'll add gc and cleandb, whould this be running daily?

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Thomas Bruederli
Sent: 10 de dezembro de 2017 14:56
To: Roundcube Users mailing list <[email protected]>
Subject: Re: [RCU] Cron files

On Thu, Dec 7, 2017 at 4:29 PM, Ulli Heist <[email protected]>
wrote:
> Hello,
>
> sometimes I'm doing manuel:
>
> $SQL = "SELECT * FROM `contacts` WHERE `del` = 1 AND 
> DATE_ADD(`changed`,INTERVAL 45 DAY) < NOW() ";
>
> ...

We have `bin/cleandb.sh` in Roundcube that does exactly this ;-)

This and the already mentioned `bin/gc.sh` should do it for periodic
clean-ups.

~Thomas
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to