<<

NAME

nl-sync-from-koha.pl - Sync patrons from Koha to the Norwegian national patron database (NL).

SYNOPSIS

 perl nl-sync-from-koha.pl -v --run

ACTIONS

Find local patrons that have been changed and need to be sent upstream to NL. These patrons will be distinguished by two borrower attributes:

STEPS

This script performs the following steps:

Check sysprefs

Check that the necessary sysprefs are set before proceeding.

Find patrons that need to be synced

Patrons with either of these statuses:

Do the actual sync

Data is synced to NL with NLSync.

Summarize if verbose mode is enabled

Specify -v on the command line to get a summary of the syncing operations.

OPTIONS

-r, --run

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.

-v --verbose

Report on the progress of the script.

-d --debug

Even more output.

-h, -?, --help

Prints this help message and exits.

AUTHOR

Magnus Enger <digitalutvikling@gmail.com>

COPYRIGHT

Copyright 2014 Oslo Public Library

LICENSE

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.

<<