in reply to setting environmental variables for cron
We had that just yesterday: (to be deleted: duplicate of 104710) Crontab entry for a Perl script - with lots of good answers.
-- Hofmator