nl-sync-from-koha.pl - Sync patrons from Koha to the Norwegian national patron database (NL).
perl nl-sync-from-koha.pl -v --run
Find local patrons that have been changed and need to be sent upstream to NL. These patrons will be distinguished by two borrower attributes:
This script performs the following steps:
Check that the necessary sysprefs are set before proceeding.
Patrons with either of these statuses:
Data is synced to NL with NLSync.
Specify -v on the command line to get a summary of the syncing operations.
Actually carry out syncing operations. Without this option, the script will only report what it would have done, but not change any data, locally or remotely.
Report on the progress of the script.
Even more output.
Prints this help message and exits.
Magnus Enger <email@example.com>
Copyright 2014 Oslo Public Library
This file is part of Koha.
Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with Koha; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.