Bug 13389 - Calendar maintenance
Summary: Calendar maintenance
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Holidays (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-03 18:22 UTC by Christopher Brannon
Modified: 2020-11-30 21:45 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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