Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
297 B

#!/usr/bin/perl
use Modern::Perl;
use Koha::Script;
use Fcntl qw(:flock);
use Try::Tiny;
# # Lock execution
my $script = Koha::Script->new({ script => 'sleep.pl' });
$script->lock_exec;
# Sleep for a while, we need to force the concurrent access to the
# lock file
sleep 2;
# Normal exit
1;