The script can truncate the sessions table and clean out old zebraqueue entries.<br><br>It seems to have been backported to 3.0. No part of the script depends on anything new in 3.2, so it should work fine in a 3.0.x install.<br>
<br><div class="gmail_quote">2010/1/9 Bob Birchall @ Calyx <span dir="ltr">&lt;<a href="mailto:bob@calyx.net.au">bob@calyx.net.au</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://cleanup_database.pl" target="_blank">cleanup_database.pl</a> is not described in either version of the manual:<br>
<a href="http://koha.org/documentation/manual/3.2/appendices/cron-jobs" target="_blank">http://koha.org/documentation/manual/3.2/appendices/cron-jobs</a><br>
<br>
What does it do?  Will it break if used in 3.0 ?<br>
<br>
Thanks,<br>
Bob<br>
CALYX<br>
<br>
&gt; Date: Sat, 09 Jan 2010 12:17:45 +0100<br>
&gt; From: Frederic Demians &lt;<a href="mailto:frederic@tamil.fr">frederic@tamil.fr</a>&gt;<br>
&gt; Subject: Re: [Koha] Culling old session data<br>
&gt; To: Rick Welykochy &lt;<a href="mailto:rick@praxis.com.au">rick@praxis.com.au</a>&gt;<br>
&gt; Cc: Koha-List &lt;<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:4B4865D9.9040803@tamil.fr">4B4865D9.9040803@tamil.fr</a>&gt;<br>
&gt; Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
&gt;<br>
&gt;<br>
&gt; &gt; Is there a periodic job that can be run to cull old sessions from the<br>
&gt; &gt; table? We don&#39;t want to backup all the useless session data every night.<br>
&gt;<br>
&gt; misc/cronjobs/<a href="http://cleanup_database.pl" target="_blank">cleanup_database.pl</a><br>
&gt;<br>
&gt; Or just before doing a backup command (mysqldump), you can truncate<br>
&gt; session table:<br>
&gt;<br>
&gt;   mysql -u&lt;kohauser&gt; -p&lt;password&gt; &lt;koha-db-name&gt; -e &#39;TRUNCATE TABLE<br>
&gt; sessions&#39;<br>
&gt;<br>
&gt; --<br>
&gt; Fr?d?ric<br>
<br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jesse Weaver<br>