Bug 24152: Add a warning about the delete of statistics's table entries
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Sep 2019 21:09:10 +0000 (18:09 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 14:08:22 +0000 (16:08 +0200)
Signed-off-by: Signed-off-by: Sonia Bouis <sonia.bouis@univ-lyon3.fr>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

misc/cronjobs/cleanup_database.pl

index 3b899e9..a86c079 100755 (executable)
@@ -92,6 +92,7 @@ Usage: $0 [-h|--help] [--sessions] [--sessdays DAYS] [-v|--verbose] [--zebraqueu
    --uploads-missing FLAG Delete upload records for missing files when FLAG is true, count them otherwise
    --oauth-tokens     Delete expired OAuth2 tokens
    --statistics DAYS       Purge statistics entries more than DAYS days old.
+                           This table is used to build reports, make sure you are aware of the consequences of this before using it!
    --deleted-catalog  DAYS Purge catalog records deleted more then DAYS days ago
                            (from tables deleteditems, deletedbiblioitems, deletedbiblio_metadata and deletedbiblio).
    --deleted-patrons DAYS  Purge patrons deleted more than DAYS days ago.