[Koha] Koha Digest, Vol 51, Issue 15

Bob Birchall @ Calyx bob at calyx.net.au
Sun Jan 10 19:36:41 NZDT 2010


cleanup_database.pl is not described in either version of the manual:
http://koha.org/documentation/manual/3.2/appendices/cron-jobs

What does it do?  Will it break if used in 3.0 ?

Thanks,
Bob
CALYX

> Date: Sat, 09 Jan 2010 12:17:45 +0100
> From: Frederic Demians <frederic at tamil.fr>
> Subject: Re: [Koha] Culling old session data
> To: Rick Welykochy <rick at praxis.com.au>
> Cc: Koha-List <Koha at lists.katipo.co.nz>
> Message-ID: <4B4865D9.9040803 at tamil.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 
> > Is there a periodic job that can be run to cull old sessions from the
> > table? We don't want to backup all the useless session data every night.
> 
> misc/cronjobs/cleanup_database.pl
> 
> Or just before doing a backup command (mysqldump), you can truncate
> session table:
> 
>   mysql -u<kohauser> -p<password> <koha-db-name> -e 'TRUNCATE TABLE
> sessions'
> 
> --
> Fr?d?ric



More information about the Koha mailing list