Put the output of this (untested)-
perl -le 'print q{PERL5LIB=}, join(":",grep /\w/, @INC)'-into the top of your crontab. That way it'll have access to everything you do on the command line. It's also possible you have more than one perl installed. If you do, make sure the shebang line refers to the one you want or you can also set it as an environment variable.
(Update, corrected cut-off snippet.)
In reply to Re: Cron can't find a module in OSX
by Your Mother
in thread Cron can't find a module in OSX
by true
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |