Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jan 2009 13:32:06 -0500
From:      Tim Kellers <timothyk@wallnet.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: PATH braincramp
Message-ID:  <496100A6.8090200@wallnet.com>
In-Reply-To: <87k59bhury.fsf@kobe.laptop>
References:  <4960E864.5060104@wallnet.com> <87k59bhury.fsf@kobe.laptop>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Giorgos Keramidas wrote:
> On Sun, 04 Jan 2009 11:48:36 -0500, Tim Kellers <timothyk@wallnet.com> wrote:
>   
>> I'm having a tussle with one of those things I've done a zillion times,
>> but now I can't fathom what the heck is wrong.
>>
>> When I run flexbackup from a cron job (as root) , the following error is
>> returned by e-mail to root:
>>
>> Errors:
>> mbuffer not found in $PATH
>> dump not found in $PATH
>> restore not found in $PATH
>>
>> $PATH is set in root's  crontab: $PATH = "/sbin /bin /usr/sbin /usr/bin
>> /usr/games /usr/local/sbin /usr/local/bin"
>>     
>
> You are not using `$PATH = xxx yyy' right?
>
> Evaluating the variable to extract its _value_ needs a dollar sign, but
> setting it should not use a dollar sign and the value elements should be
> separated by ':' like this:
>
>     PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
>
>
>
>   
Pass the Pointy Hat over so I can strap it on twice.  I had tried 
"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" but, yes 
I had the $ in front of PATH.

Wow, what a braincramp.  I feel like a dope, but a dope that has his 
backup crons running, now.

Giorgios, THANK YOU!



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?496100A6.8090200>