@@ -, +, @@ --- debian/koha-common.cron.daily | 1 + installer/data/mysql/atomicupdate/bug_9988c_cron.perl | 6 ++++++ misc/cronjobs/crontab.example | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_9988c_cron.perl --- a/debian/koha-common.cron.daily +++ a/debian/koha-common.cron.daily @@ -26,4 +26,5 @@ koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/ 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/holds/auto_unsuspend_holds.pl > /dev/null 2>&1 +koha-foreach --enabled /usr/share/koha/bin/cronjobs/merge_authorities.pl -b koha-run-backups --days 2 --output /var/spool/koha --- a/installer/data/mysql/atomicupdate/bug_9988c_cron.perl +++ a/installer/data/mysql/atomicupdate/bug_9988c_cron.perl @@ -0,0 +1,6 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + print "IMPORTANT NOTE: If you are not using a regular Debian install, please verify that you no longer use misc/migration_tools/merge_authority.pl in your cron files AND add misc/cronjobs/merge_authorities.pl to cron now. This job is no longer optional! You need it to perform larger authority merges.\n"; + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 9988 - Cron alert)\n"; +} --- a/misc/cronjobs/crontab.example +++ a/misc/cronjobs/crontab.example @@ -94,3 +94,6 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # share_usage_with_koha_community.pl every months 0 0 1 * * __KOHA_USER__ $KOHA_CRON_PATH/share_usage_with_koha_community.pl + +# run merge authorities +20 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/merge_authorities.pl -b --