[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron path problem



Colin Watson <cjwatson@debian.org> 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 <baloo@ursine.ca>
: :'  :    
`. `'`     proud Debian admin and user
  `-       Debian.  Because it *must* work.  debian.org   aboutdebian.com

Attachment: pgpUGHPm5q7Ua.pgp
Description: PGP signature


Reply to: