Colin Watson <[EMAIL PROTECTED]> writes:

> 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.

Why isn't Ms. Huxley using cron-apt to accomplish this?

-- 
 .''`.     Paul Johnson <[EMAIL PROTECTED]>
: :'  :    
`. `'`     proud Debian admin and user
  `-       Debian.  Because it *must* work.  debian.org   aboutdebian.com

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to