Setting Variables for cron

From: Chris Denneen (sunmanagers@ghostspace.com)
Date: Wed May 14 2003 - 11:18:29 EDT


Is there a way to get values to be set for executables run in cron?

I added the correct PATH and LD_LIBRARY_PATH in /etc/profile but for
some reason when cron runs it doesn't use these settings.

now if an executable runs and needs a library that doesn't reside in
standard place then it fails.

I could symlink the failing libary into one that is used by default but
I shouldn't be symlinking all over the box.

Is there a way to set PATH and LIBRARY information that cron will use
when running?

Thanks
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:24 EDT