Bugzilla – Attachment 106469 Details for
Bug 24153
Add a confirm flag to the cleanup_database.pl cronjob
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24153: Add the confirm flag to the crontab calls
Bug-24153-Add-the-confirm-flag-to-the-crontab-call.patch (text/plain), 2.64 KB, created by
Marcel de Rooy
on 2020-07-02 08:37:23 UTC
(
hide
)
Description:
Bug 24153: Add the confirm flag to the crontab calls
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-07-02 08:37:23 UTC
Size:
2.64 KB
patch
obsolete
>From 3312a817f6564803ff8916b91308faf5655e3e1e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 24 Jun 2020 16:14:29 +0200 >Subject: [PATCH] Bug 24153: Add the confirm flag to the crontab calls >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/koha-common.cron.daily | 4 ++-- > misc/cronjobs/crontab.example | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily >index b458cd9c28..79f71cdd11 100644 >--- a/debian/koha-common.cron.daily >+++ b/debian/koha-common.cron.daily >@@ -22,8 +22,8 @@ koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_noti > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/serialsUpdate.pl -c > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/membership_expiry.pl -c > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1 >-koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites --temp-uploads >-koha-foreach --chdir --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail >+koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --confirm --sessions --zebraqueue 10 --list-invites --temp-uploads >+koha-foreach --chdir --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --confirm --mail > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/holds/auto_unsuspend_holds.pl > /dev/null 2>&1 > koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/merge_authorities.pl -b > koha-run-backups --days 2 --output /var/spool/koha >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 5326a47aa5..b42c37b255 100644 >--- a/misc/cronjobs/crontab.example >+++ b/misc/cronjobs/crontab.example >@@ -84,7 +84,7 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs > */10 * * * * __KOHA_USER__ $KOHA_CRON_PATH/../migration_tools/rebuild_zebra.pl -b -a -z >/dev/null > > # 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 --temp-uploads >+16 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/cleanup_database.pl --confirm --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 --confirm --days XX > /dev/null 2>&1 >-- >2.11.0
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 24153
:
95980
|
97256
|
101300
|
106197
|
106252
|
106253
|
106254
|
106327
|
106328
|
106329
|
106330
|
106331
|
106332
|
106333
|
106334
|
106335
|
106336
|
106465
|
106466
|
106467
|
106468
| 106469 |
106470