#!/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 . 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 =cut