Bash script failing when run via cron, can't find Libboost library?

As a general comment, don't rely on the presence of environmental variables that you normally have during an interactive (login) session when you cron() a script. Some implementations define a minimal environment only. You will do well to include everything you need within your script, either by direct declaration therein or by sourcing a file of the variables you need into it.

Try to set the PATH var on Cron script # /etc/cron. D/something PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin.

– Russ Oct 27 at 14:51 The answer @michael-krelin-hacker provided is more accurate, you should set the LD_LIBRARY_PATH, but still you should do that inside your Cron script. You should check your current LD_LIBRARY_PATH with 'env'. – WagnerVaz Oct 28 at 10:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send