Don't ask to ask, just ask | |
PerlMonks |
Re: perl /cron /DBIby mikelieman (Friar) |
on Jun 12, 2009 at 19:48 UTC ( [id://771077]=note: print w/replies, xml ) | Need Help?? |
PROTIP: Cron doesn't load /etc/profile, .profile .bashrc or any other shell environment configuration scripts.
The easiest thing is to make a shell script which wraps the Perl program, and loads up the needed environment variables.
In Section
Seekers of Perl Wisdom
|
|