View Single Post
  #7 (permalink)  
Old 2006-04-07
ChrisA ChrisA is offline
Senior Member
 
Join Date: 2006-02-18
Posts: 103
Rep Power: 3
ChrisA has an average reputation (10+)
Default Re: Sendmail command in cron script in SPLat

The problem is resolved, though I may have resolved it the wrong way (?)

When I was logged into the SPLat box as admin, I did: echo $LD_LIBRARY_PATH

I took that info and used the export command in the script to set the same variable:

export LD_LIBRARY_PATH='/opt/spwm/lib:/opt/CPshrd-R60/lib:/opt/CPsuite-R60/fw1/lib:/opt/CPsuite-R60/fg1/lib:/opt/CPportal-R60/webis/lib:/opt/CPportal-R60/portal/lib':$LD_LIBRARY_PATH

It works like a charm. Does anyone see a problem with doing this?
Reply With Quote