[Koha-patches] [PATCH] enhancement of cronjob script to delete old suggestions - add to crontab.example

Michael Hafen mdhafen at tech.washk12.org
Thu Mar 24 17:18:09 CET 2011


Add the new script to delete old suggestions to the example crontab file with
30 days as used in the example in the script.
---
 misc/cronjobs/crontab.example |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example
index b43d377..1ee2ef2 100644
--- a/misc/cronjobs/crontab.example
+++ b/misc/cronjobs/crontab.example
@@ -76,3 +76,6 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs
 
 # clean up databases nightly.  Be sure not to run this with --sessions during a time when the system is in use!
 16 1 * * * $KOHA_CRON_PATH/cleanup_database.pl --sessions --zebraqueue 10
+
+# clean up suggestions which have been processed and are older than 30 days
+22 1 * * * $KOHA_CRON_PATH/purge_suggestions.pl -days 30
-- 
1.7.1



More information about the Koha-patches mailing list