use Getopt::Long;
use Carp;
use File::Spec;
use Try::Tiny;
use Koha::Calendar;
use Koha::DateUtils;
exit;
}
my $script_handler = Koha::Script->new({ script => $0 });
try {
$script_handler->lock_exec;
catch {
my $message = "Skipping execution of $0 ($_)";
print STDERR $message
if $verbose;
cronlogaction( $message );
};
cronlogaction();
my @borrower_fields =
-