Bugzilla – Attachment 62490 Details for
Bug 17669
Add purging temporary uploads to cleanup_database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17669: Add new switch to crontab example and debian daily cron file
Bug-17669-Add-new-switch-to-crontab-example-and-de.patch (text/plain), 2.76 KB, created by
Jonathan Druart
on 2017-04-20 18:28:18 UTC
(
hide
)
Description:
Bug 17669: Add new switch to crontab example and debian daily cron file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-04-20 18:28:18 UTC
Size:
2.76 KB
patch
obsolete
>From 4ca48fd52b96de3f7d53eb987d7ae131cde66c5e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 14 Dec 2016 13:46:06 +0100 >Subject: [PATCH] Bug 17669: Add new switch to crontab example and debian daily > cron file > >The new switch for deleting temporary uploads in cleanup_database can >be added to cron. > >Note: Since the option --temp-uploads does only purge temporary uploads >when triggered by the preference Upload_PurgeTemporaryFiles_Days, it can >be safely added here. > >Test plan: >There is actually nothing to test here if you followed the preceding test >plans. Just verify that the switch is inserted ocrrectly. > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > debian/koha-common.cron.daily | 2 +- > misc/cronjobs/crontab.example | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily >index 0642e44..26e6fb4 100644 >--- a/debian/koha-common.cron.daily >+++ b/debian/koha-common.cron.daily >@@ -23,7 +23,7 @@ koha-foreach --enabled /usr/share/koha/bin/cronjobs/serialsUpdate.pl -c > 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 /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites --temp-uploads > koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --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/merge_authorities.pl -b >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 8cb0b17..f3dad73 100644 >--- a/misc/cronjobs/crontab.example >+++ b/misc/cronjobs/crontab.example >@@ -87,7 +87,7 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs > 59 23 * * * __KOHA_USER__ $KOHA_CRON_PATH/services_throttle.pl > /dev/null 2>&1 > > # clean up databases nightly. Be sure not to run this with --sessions during a time when the system is in use! >-16 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/cleanup_database.pl --sessions --zebraqueue 10 --list-invites >+16 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/cleanup_database.pl --sessions --zebraqueue 10 --list-invites --temp-uploads > > # delete old purchase suggestions weekly. Replace XX with a number to define the age of suggestions to delete. > @weekly __KOHA_USER__ $KOHA_CRON_PATH/purge_suggestions.pl --days XX > /dev/null 2>&1 >-- >2.9.3
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 17669
:
58176
|
58177
|
58178
|
58179
|
58810
|
58811
|
58812
|
61239
|
61240
|
61241
|
61242
|
61243
|
61465
|
61466
|
61467
|
61468
|
61469
|
61727
|
61729
|
61730
|
61742
|
61743
|
61805
|
61809
|
61818
|
61819
|
62486
|
62487
|
62488
|
62489
| 62490 |
62491
|
62492
|
62493
|
62494
|
62495