Koha/misc/bin/koha-index-daemon
Bernardo Gonzalez Kriegel e5f4a0e3d5 Bug 11081: (followup) Add license information
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-01-27 06:30:44 +00:00

65 lines
1.3 KiB
Perl
Executable file

#!/usr/bin/perl
# This file is part of Koha.
#
# Copyright (C) 2013 Tamil s.a.r.l.
#
# 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.
#
# Koha is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
package Main;
use Modern::Perl;
use utf8;
use Koha::Indexer::Daemon;
use Pod::Usage;
Koha::Indexer::Daemon->new_with_options();
__END__
=pod
=head1 SYNOPSIS
koha-index-daemon
koha-index-daemon --timeout 60
koha-index-daemon --timeout 60 --directory /home/mylib/tmp
=head1 DESCRIPTION
Examine periodicaly zebraqueue table from a Koha instance and index
bilbio/authority records.
=head1 OPTIONS
=over
=item --timeout
Specify the daemon timeout in seconds.
=item --directory
Directory where to write record exported from Koha DB before sending them to
Zebra. Subdirectories are created.
=back
=head1 SEE ALSO
=for :list
* L<koha-index>
=cut