Not that it's strictly speaking a perl problem, but processes run from cron don't run with the same environment as your normal login shell sets up. Look in your .profile / .bashrc / whatnot for environment variables such as LD_LIBRARY_PATH and what not and either add those to your cron command line, write a shell wrapper which sets them then runs your perl, or set them in a BEGIN block in your code (e.g. BEGIN { $ENV{LD_LIBRARY_PATH} = q{...}; }).
Failing that, find your local sysadmin and they'll probably be able to tell you what needs to be set.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Twig in a crontab?
by Fletch
in thread Twig in a crontab?
by BenHopkins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |