use Modern::Perl;
use Koha::Logger;
use Koha::Script -cron;
cronlogaction();
my $logger = Koha::Logger->get();
if ( C4::Context->config("enable_plugins") ) {
my @plugins = Koha::Plugins->new->GetPlugins(
{
}
catch {
warn "$_";
$logger->warn("$_");
};
-