in reply to Perl @INC Error
cron is likely to run under a different user account, with different file permissions and different environment variables.
Check which user cron is running under and make sure they have permission to read GD/Graph/hbars.pm, as well as read and execute permission on the directories "above" that on the filesystem.
See if you can find any differences in the environment variables between your account and cron's account, especially the PERL5LIB and PERL5OPT variables.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl @INC Error
by frozenwithjoy (Priest) on Aug 15, 2013 at 15:22 UTC | |
by McA (Priest) on Aug 15, 2013 at 15:42 UTC |