in reply to Perl app won't compile /run from cron
Also, its possible that cron and the terminal are running as different users (and so with different file/directory permissions), or are using different versions of the perl executable. You can see where the module is being loaded from the terminal by using:
If that path isn't in the list of paths in the cron error message, that's another place to investigate.$ perl -le 'require Image::Grab; print $INC{"Image/Grab.pm"}' /some/path/lib/Image/Grab.pm
Dave.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl app won't compile /run from cron
by haukex (Archbishop) on May 23, 2018 at 21:52 UTC |