go ahead... be a heretic | |
PerlMonks |
Re: Crontab entry for Perl scriptby htoug (Deacon) |
on Aug 14, 2001 at 14:43 UTC ( [id://104731]=note: print w/replies, xml ) | Need Help?? |
This is a quite normal problem when running anything from cron: You don't get your normal environment setup for you. You will have to either add the neccessary parts of your environment in your script by hand, or ensure that /etc/profile and ~/.profile (or whatever the local names are in your preferred OS) are sourced before you execute anything in your cron jobs. YMMV.
In Section
Seekers of Perl Wisdom
|
|