]> git.koha-community.org Git - koha.git/blob - misc/cronjobs/holds/build_holds_queue.pl
Bug 19750: Overdues without a fine rule add warnings to log
[koha.git] / misc / cronjobs / holds / build_holds_queue.pl
1 #!/usr/bin/perl 
2 #-----------------------------------
3 # Script Name: build_holds_queue.pl
4 # Description: builds a holds queue in the tmp_holdsqueue table
5 #-----------------------------------
6 # FIXME: add command-line options for verbosity and summary
7 # FIXME: expand perldoc, explain intended logic
8
9 use strict;
10 use warnings;
11 BEGIN {
12     # find Koha's Perl modules
13     # test carefully before changing this
14     use FindBin;
15     eval { require "$FindBin::Bin/../kohalib.pl" };
16 }
17
18 use C4::HoldsQueue qw(CreateQueue);
19 use C4::Log;
20
21 cronlogaction();
22
23 CreateQueue();
24