Bug 13389

Summary: Calendar maintenance
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: HolidaysAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Christopher Brannon 2014-12-03 18:22:06 UTC
Would like to see a preference and cron job that regularly cleans up the calendars.  A preference should be set as to how long past non-repeating events (holidays) should remain in the calendar (for reference) before cleared.  A cron job should look at non-repeating events that are past, and this preference, and daily clean up the calendars.

Christopher
Comment 1 Katrin Fischer 2020-01-06 13:25:26 UTC
Hi Christopher, there already is such a thing:

cleanup_database.pl
 --unique-holidays DAYS  Delete all unique holidays older than DAYS