Chances are that even if you ran a korn shell, cron would still not load your environment variables because cron tries to run its commands in a minimal environment.
Maybe you could use something like what's been mentioned in these previous discussions.
non-Perl: Andy Ford
In reply to Re: Changing shells within a perl script
by andyford
in thread Changing shells within a perl script
by curtisb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |