J
John
Hi
exec '/home/john/www/www.example.com/cgi-bin/main.pl automatic';
works OK in Perl program
The following in a crontab:
10 * * * * /home/john/www/www.example.com/cgi-bin/main.pl automatic
produces:-
Can't locate Library.pm in @INC
main.pl begins:-
use lib '../';
use strict;
use warnings;
use Library; my $library=new Library;
Any ideas?
John
exec '/home/john/www/www.example.com/cgi-bin/main.pl automatic';
works OK in Perl program
The following in a crontab:
10 * * * * /home/john/www/www.example.com/cgi-bin/main.pl automatic
produces:-
Can't locate Library.pm in @INC
main.pl begins:-
use lib '../';
use strict;
use warnings;
use Library; my $library=new Library;
Any ideas?
John