On 8/30/2015 1:36 AM, A.L.E.C wrote:
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.
I was going to ask if you'd like me to submit a bug report or enhancement request, but I see you've already done so:
http://trac.roundcube.net/ticket/1490512
Thanks!