Lines 1-12
Link Here
|
1 |
#! /usr/bin/perl |
1 |
#! /usr/bin/perl |
2 |
|
2 |
|
3 |
use Getopt::Long qw( GetOptions ); |
3 |
# This file is part of Koha. |
|
|
4 |
# |
5 |
# Koha is free software; you can redistribute it and/or modify it |
6 |
# under the terms of the GNU General Public License as published by |
7 |
# the Free Software Foundation; either version 3 of the License, or |
8 |
# (at your option) any later version. |
9 |
# |
10 |
# Koha is distributed in the hope that it will be useful, but |
11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
# GNU General Public License for more details. |
14 |
# |
15 |
# You should have received a copy of the GNU General Public License |
16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
4 |
|
17 |
|
5 |
use Koha::Script -cron; |
|
|
6 |
use C4::Context; |
7 |
use Modern::Perl; |
18 |
use Modern::Perl; |
|
|
19 |
|
20 |
use Getopt::Long qw( GetOptions ); |
8 |
use Pod::Usage qw( pod2usage ); |
21 |
use Pod::Usage qw( pod2usage ); |
9 |
|
22 |
|
|
|
23 |
use Koha::Script -cron; |
24 |
|
25 |
use C4::Context; |
10 |
use Koha::Items; |
26 |
use Koha::Items; |
11 |
|
27 |
|
12 |
my $dbh = C4::Context->dbh(); |
28 |
my $dbh = C4::Context->dbh(); |
13 |
- |
|
|