in reply to Chronicling Perl script and recognition of modules location with Crontab
The easiest way to troubleshoot this specific problem would be to see where List/Compare.pm is located, then make sure that directory is at the top of your script with a use lib statement.
Another idea is to run a shell with no environment, with something like env - bash. Getting your script to work in that environment should ensure it works with cron as well.
|
|---|