Bugzilla – Attachment 106464 Details for
Bug 24544
Add a script for inserting persistent identifiers to MARC records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24544: Add new cronjob to cron files
Bug-24544-Add-new-cronjob-to-cron-files.patch (text/plain), 1.76 KB, created by
Marcel de Rooy
on 2020-07-02 07:08:30 UTC
(
hide
)
Description:
Bug 24544: Add new cronjob to cron files
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-07-02 07:08:30 UTC
Size:
1.76 KB
patch
obsolete
>From 53ae28fc136bd4cf61aa063ef714b6a1f7a5a9f3 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 2 Jul 2020 07:02:12 +0000 >Subject: [PATCH] Bug 24544: Add new cronjob to cron files >Content-Type: text/plain; charset=utf-8 > >Added the additional parameter -hours 2 to prevent a first time >run at night to do a full update (perhaps unexpected). >I would recommend to run a full update after configuring the >preferences. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/koha-common.cron.daily | 1 + > misc/cronjobs/crontab.example | 3 +++ > 2 files changed, 4 insertions(+) > >diff --git a/debian/koha-common.cron.daily b/debian/koha-common.cron.daily >index b458cd9c28..3e60bfd057 100644 >--- a/debian/koha-common.cron.daily >+++ b/debian/koha-common.cron.daily >@@ -26,4 +26,5 @@ koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl > koha-foreach --chdir --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --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-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/insert_persistent_id.pl -c -hours 2 > koha-run-backups --days 2 --output /var/spool/koha >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 5326a47aa5..49f8abb18b 100644 >--- a/misc/cronjobs/crontab.example >+++ b/misc/cronjobs/crontab.example >@@ -94,3 +94,6 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs > > # run merge authorities > 20 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/merge_authorities.pl -b >+ >+# add persistent identifiers >+30 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/insert_persistent_id.pl -c -hours 2 >-- >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 24544
:
106460
|
106461
|
106462
|
106463
|
106464