On 08/30/2015 06:03 AM, deoren wrote:
> When I run bin/gc.sh I get no output (which I suppose is not a bad
> default setting for a cron script) and no change to the session table in
> my Roundcube database. Is this the right script for that task and is
> there anything special I need to do when running it?
> 
> I'm using Roundcube 1.1.2.

I just noticed it cleans only caches and temp directory, but not session
table. We'd need to extend the script, the query would be something like:

DELETE FROM session WHERE changed < NOW() - INTERVAL 1 DAY;

but depending on Roundcube session_lifetime setting.

-- 
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer        [http://kolab.org]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to