[SunHELP] Environment variables not seen in cron'd perl scripts

sunhelp at sunhelp.org sunhelp at sunhelp.org
Tue Jun 5 09:35:13 CDT 2001


Greetings Managers, et al.

I have some cron'd perl scripts that fail with library errors...  but they
run fine by hand.  Basically, when running from cron, the perl script can't
seem to set the LD_LIBRARY_PATH variable (which is in the script).  

I know that root's cron runs under a limited environment -- adding the
necessary environment variables to SHELL SCRIPTS works fine!  It's just not
working with perl scripts.


Any thoughts?

Thanks in advance.

Andy Chandler
Systems Administrator
DICE.COM
515-313-2068 Phone
515-280-1452 FAX
AndyC at dice.com
http://www.dice.com






More information about the SunHELP mailing list