Bug 16258: (QA follow-up) Add a guard to the cron script

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Kyle Hall 2022-02-10 14:18:23 -05:00 committed by Fridolin Somers
parent 53a632431f
commit 21223c7c5e
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ use Koha::Edifact::Transport;
use Koha::Plugins::Handler;
use Fcntl qw( LOCK_EX O_CREAT O_RDWR SEEK_SET );
die "Syspref 'Edifact' is disabled" unless C4::Context->preference('Edifact');
my $logdir = C4::Context->config('logdir');
# logging set to trace as this may be what you