Bug 11081: Port Koha::Contrib::Tamil indexer into Koha code base
[koha-equinox.git] / misc / bin / koha-index-daemon
1 #!/usr/bin/perl
2
3 package Main;
4
5 use Modern::Perl;
6 use utf8;
7 use Koha::Indexer::Daemon;
8 use Pod::Usage;
9
10 Koha::Indexer::Daemon->new_with_options();
11
12 __END__
13
14 =pod
15
16 =head1 SYNOPSIS
17
18  koha-index-daemon
19
20  koha-index-daemon --timeout 60
21
22  koha-index-daemon --timeout 60 --directory /home/mylib/tmp
23
24 =head1 DESCRIPTION
25
26 Examine periodicaly zebraqueue table from a Koha instance and index
27 bilbio/authority records.
28
29 =head1 OPTIONS
30
31 =over
32
33 =item --timeout
34
35 Specify the daemon timeout in seconds.
36
37 =item --directory
38
39 Directory where to write record exported from Koha DB before sending them to
40 Zebra. Subdirectories are created.
41
42 =back
43
44 =head1 SEE ALSO
45
46 =for :list
47 * L<koha-index>
48
49 =cut