From 41c439bf41555a9a31282c9bc385fbf75ec40fd9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 27 Jan 2023 11:29:49 +0000 Subject: [PATCH] Bug 17350: Add note about how the saved reports data is created in first place This amends the documentation of the cleanup_database.pl script to include a hint for how the saved reports data is created. Signed-off-by: Katrin Fischer Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi --- misc/cronjobs/cleanup_database.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl index 6760b32d86..940cdf55d6 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -113,7 +113,7 @@ Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] --jobs-days DAYS Purge all finished background jobs this many days old. Defaults to 1 if no DAYS provided. --jobs-type TYPES What type of background job to purge. Defaults to "update_elastic_index" if omitted Specifying "all" will purge all types. Repeatable. - --reports DAYS Purge reports data saved more than DAYS days ago. + --reports DAYS Purge reports data saved more than DAYS days ago. The data is created by running runreport.pl with the --store-results option. USAGE exit $_[0]; } -- 2.39.5