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 <chrisc@catalyst.net.nz>
(cherry picked from commit 1a17c0d6bd)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Liz Rea 2011-06-07 11:44:14 -05:00 committed by Chris Nighswonger
parent c1c4030368
commit 2edaf8d31e
1 changed files with 3 additions and 0 deletions

View File

@ -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