Koha-clms/misc/cronjobs/holds/build_holds_queue.pl

25 lines
563 B
Perl
Executable File

#!/usr/bin/perl
#-----------------------------------
# Script Name: build_holds_queue.pl
# Description: builds a holds queue in the tmp_holdsqueue table
#-----------------------------------
# FIXME: add command-line options for verbosity and summary
# FIXME: expand perldoc, explain intended logic
use strict;
use warnings;
BEGIN {
# find Koha's Perl modules
# test carefully before changing this
use FindBin;
eval { require "$FindBin::Bin/../kohalib.pl" };
}
use C4::HoldsQueue qw(CreateQueue);
use C4::Log;
cronlogaction();
CreateQueue();