[lug] CRON and PATH

Gordon Golding gordongoldin at netscape.net
Tue Mar 21 10:40:19 MST 2006


I'm not getting my Path when I run a backup out of cron.

I'm root running on bash, when I sign on and echo PATH, I get my full path - set in /etc/bashrc.
When I run a script from cron and echo PATH, I get /usr/bin:/bin - as if I didn't run  root/.bash_profile|.bashrc etc/bashrc
I have many other machines which set path correctly out of cron.
I compare the above files with a "good" machine and they are byte identical.   
???

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp



More information about the LUG mailing list