Bug 20076: Add syspref to remove overdues notification by email to staff if user...
[srvgit] / misc / cronjobs / plugins_nightly.pl
index 8a45ddd..a90423e 100755 (executable)
@@ -2,9 +2,13 @@
 
 use Modern::Perl;
 
+use Try::Tiny qw( catch try );
+
+use C4::Context;
+use C4::Log qw( cronlogaction );
 use Koha::Logger;
+use Koha::Plugins;
 use Koha::Script -cron;
-use C4::Log;
 
 cronlogaction();