Bugzilla – Attachment 54831 Details for
Bug 17159
Cron: whats the use of --noemail cleanup_database.pl --mail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17159: Do not conditionally run cleanup_database with --mail
Bug-17159-Do-not-conditionally-run-cleanupdatabase.patch (text/plain), 1.67 KB, created by
Marcel de Rooy
on 2016-08-24 14:29:45 UTC
(
hide
)
Description:
Bug 17159: Do not conditionally run cleanup_database with --mail
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-08-24 14:29:45 UTC
Size:
1.67 KB
patch
obsolete
>From f29ee587132fc71bfaf4ced3a7c97fa3683ccf7e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 24 Aug 2016 16:25:01 +0200 >Subject: [PATCH] Bug 17159: Do not conditionally run cleanup_database with > --mail >Content-Type: text/plain; charset=utf-8 > >As a simplification, I propose here to just call cleanup_database in >only one line. And not test the mail enabled/disabled flag for the --mail >option. If we have no lines to delete, that's just fine and we can go >home early :) >--- > debian/koha-common.cron.daily | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily >index cbd7eed..3eda815 100644 >--- a/debian/koha-common.cron.daily >+++ b/debian/koha-common.cron.daily >@@ -21,8 +21,7 @@ koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl - > koha-foreach --enabled /usr/share/koha/bin/cronjobs/membership_expiry.pl -c > koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1 > koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1 >-koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites >-koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail >+koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites --mail > koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1 > koha-foreach --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl > koha-run-backups --days 2 --output /var/spool/koha >-- >1.7.10.4
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 17159
: 54831 |
54832