The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Koha::Contrib::Tamil::IndexerDaemon - Class implementing a Koha records indexer daemon

VERSION

version 0.034

SYNOPSIS

 # Index Koha queued biblio/authority records every minute.
 # KOHA_CONF environment variable is used to find which Koha
 # instance to use.
 # Records are exported from Koha DB into files located in
 # the current directory
 my $daemon = Koha::Contrib::Tamil::IndexerDaemon->new();

 my $daemon = Koha::Contrib::Tamil::IndexerDaemon->new(
    timeout   => 20,
    conf      => '/home/koha/mylib/etc/koha-conf.xml',
    directory => '/home/koha/mylib/tmp',
    verbose   => 1 );

ATTRIBUTES

conf($file_name)

Koha configuration file name. If not supplied, KOHA_CONF environment variable is used to locate the configuration file.

directory($directory_name)

Location of the directory where to export biblio/authority records before sending them to Zebra indexer.

timeout($seconds)

Number of seconds between indexing.

verbose(0|1)

Task verbosity.

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Fréderic Démians.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007