On Wed, Mar 24, 2004 at 02:13:09PM +0000, Alexis Huxley wrote:
> Best way to fix path is to put it explicitly in the command you run as
> in:
> 
>       0 0 * * 1-5     sh -c 'PATH=$PATH:/sbin:/usr/sbin; apt-get update; apt-get 
> install ...'

That's pretty cumbersome. Much easier just to set the variable at the
top of the crontab.

-- 
Colin Watson                                  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to