projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Spanish and Turkish updates
[koha.git]
/
misc
/
cronjobs
/
j2a.pl
diff --git
a/misc/cronjobs/j2a.pl
b/misc/cronjobs/j2a.pl
index
d83ec4b
..
de648ca
100755
(executable)
--- a/
misc/cronjobs/j2a.pl
+++ b/
misc/cronjobs/j2a.pl
@@
-1,6
+1,13
@@
#!/usr/bin/perl
#run nightly -- changes J to A on someone's 18th birthday
use strict;
#!/usr/bin/perl
#run nightly -- changes J to A on someone's 18th birthday
use strict;
+BEGIN {
+ # find Koha's Perl modules
+ # test carefully before changing this
+ use FindBin;
+ eval { require "$FindBin::Bin/../kohalib.pl" };
+}
+
use C4::Context;
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)
= localtime(time);
use C4::Context;
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)
= localtime(time);