Koha/misc/cronjobs
Fridolin Somers 9ddb78f0d3
Bug 19008: More database cleanups - deleted catalog
misc/cronjobs/cleanup_database.pl provides some database cleanup.
Yet some tables that could need cleanup are not in this script.

This patch adds cleanup for deleted catalog tables.
Note that deletedbiblio_metadata is managed by foreign key on biblionumber.

Test plan :
- Count :
select count(*),year(timestamp) from deleteditems group by year(timestamp);
select count(*),year(timestamp) from deletedbiblio group by year(timestamp);
select count(*),year(timestamp) from deletedbiblioitems group by year(timestamp);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --deleted-catalog 30
- Recount

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-04 13:38:15 +00:00
..
holds Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
rss Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
social_data Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
thirdparty Bug 15260: Modify next/prev_open_day 2019-10-31 11:52:26 +00:00
advance_notices.pl Bug 24268: Break assignment and warn into separate actions 2019-12-20 12:06:00 +00:00
automatic_item_modification_by_age.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
automatic_renewals.pl Bug 21343: Respect patron language preference in automtic renewals 2019-10-07 12:21:12 +01:00
backup.sh
batch_anonymise.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
build_browser_and_cloud.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cart_to_shelf.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check-url-quick.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check-url.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cleanup_database.pl Bug 19008: More database cleanups - deleted catalog 2020-02-04 13:38:15 +00:00
cloud-kw.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
crontab.example
delete_items.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_patrons.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
delete_records_via_leader.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
edi_cron.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
fines.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
gather_print_notices.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
import_webservice_batch.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
longoverdue.pl Bug 24105: Fix error when running longoverdue.pl with --itemtypes 2020-01-23 10:26:05 +00:00
membership_expiry.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
merge_authorities.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
notice_unprocessed_suggestions.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
overdue_notices.pl Bug 20537: Added checks to remove warning from overdue_notices.pl 2019-05-30 10:20:12 +00:00
patron_emailer.pl Bug 22755: Fix pod in patron_emailer.pl 2019-04-24 10:43:55 +00:00
printoverdues.sh
process_message_queue.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
purge_suggestions.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
reconcile_balances.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
remove_temporary_edifiles.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
runreport.pl Bug 16219: (QA follow-up) Tiny regex change 2019-08-13 11:55:17 +01:00
serialsUpdate.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
share_usage_with_koha_community.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
sitemap.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
staticfines.pl Bug 23049: Update existing code to use debit_type 2019-10-24 17:24:15 +01:00
stockrotation.pl Bug 22566: (QA follow-up) Fix pod complaint 2019-06-25 17:01:33 +01:00
update_patrons_category.pl Bug 17168: (follow-up) QA concerns and rebase issues 2019-10-25 13:20:22 +01:00
update_totalissues.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00