From 2edaf8d31eadce11ac367459dfee2b7135dbceba Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 7 Jun 2011 11:44:14 -0500 Subject: [PATCH] Bug 6478 -- add purge_suggestions.pl to the crontab.example To test: Verify that there is a listed job for purge_suggestions.pl in the crontab.example Bug 6478 - adding --days support and help verbiage to the cronjob. Signed-off-by: Chris Cormack (cherry picked from commit 1a17c0d6bd4e0f4059f3b2d02571bcfa1bce4d98) Signed-off-by: Chris Nighswonger --- misc/cronjobs/crontab.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index b43d377280..3c5030dedc 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 + +# delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete. +@weekly $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1 -- 2.39.5