From 5dc7a9bbc9d7c4f2b9913a43c57444e3bee35544 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 22 Apr 2020 12:10:56 +0100 Subject: [PATCH] Bug 25245: Add plugins_nightly.pl to the default cron Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart (cherry picked from commit 1ce9e0160cf7e7264400244f23b314cc8a94ad0e) Signed-off-by: Fridolin Somers --- 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 79f71cdd11..52bc613cda 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 --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-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/plugins_nightly.pl koha-run-backups --days 2 --output /var/spool/koha diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example index b42c37b255..ce86c47342 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 + +# PLUGIN JOBS +10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/plugins_nightly.pl -- 2.39.5