I use a lot of C-shell and Perl scripts that are run by the crontab command (under Linux). I have my path variables set up in my .cshrc file. Thus when I run a perl script from the command line (c-shell) I can inherit these path variables using the $ENV{C-SHELL ENV VARIABLE NAME} construct.
The problem is that when I run a perl program as a cronjob, it is not executing within a c-shell, and so the C-shell environment variables are not inherited. How can I get around this problem? I have tried having a simple c-shell wrapper which is a run as a cronjob, and this wrapper then calls my Perl program. But this does not work (I don't understand why) - C-shell environment variables are still not inherited by my Perl script. Any help gratefully appreciated, Glenn Montserrat -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]