Bug 11603: Fix encoding issues (bug 11944 is now pushed)
[koha.git] / misc / cronjobs / j2a.pl
index 32f18ac..4000b6a 100755 (executable)
@@ -32,6 +32,7 @@ use C4::Context;
 use C4::Members;
 use Getopt::Long;
 use Pod::Usage;
+use C4::Log;
 
 =head1 NAME
 
@@ -126,6 +127,8 @@ if(not $fromcat && $tocat) { #make sure we've specified the info we need.
                exit;
 }
 
+cronlogaction();
+
 my $dbh=C4::Context->dbh;
 my @branches = C4::Branch::GetBranches();
 #get today's date, format it and subtract upperagelimit