Bugzilla – Attachment 4466 Details for
Bug 6478
purge_suggestions.pl needs an example crontab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6478 -- add purge_suggestions.pl to the crontab.example
Bug-6478----add-purgesuggestionspl-to-the-crontabe.patch (text/plain), 1.13 KB, created by
Chris Cormack
on 2011-06-14 22:21:47 UTC
(
hide
)
Description:
Bug 6478 -- add purge_suggestions.pl to the crontab.example
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-06-14 22:21:47 UTC
Size:
1.13 KB
patch
obsolete
>From 535e76978b9445e60da6a27eb7914675d9b263b3 Mon Sep 17 00:00:00 2001 >From: Liz Rea <lrea@nekls.org> >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 <chrisc@catalyst.net.nz> >--- > 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..3c5030d 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 >-- >1.7.4.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6478
:
4399
|
4428
|
4432
| 4466