[Koha-bugs] [Bug 24541] Database cleanups, purge messages
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 24 12:22:32 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24541
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #101509|0 |1
is obsolete| |
--- Comment #4 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 101541
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101541&action=edit
Bug 24541: Purge old messages
misc/cronjobs/cleanup_database.pl provides some database cleanup.
This patch adds cleanup for messages table.
Test plan :
- Count messages : select count(*),date(message_date) from messages group by
date(message_date);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --messages 365
- Recount messages
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Works Ok, no errors.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list