Re: Path And 'cron'

2006-02-21 Thread James Long
> Date: Tue, 21 Feb 2006 09:25:11 -0600 > From: Tim Daneliuk <[EMAIL PROTECTED]> > Subject: Re: Path And 'cron' > To: Warren Block <[EMAIL PROTECTED]> > Cc: freebsd-questions@freebsd.org > Message-ID: <[EMAIL PROTECTED]> > > The problem in t

Re: Path And 'cron'

2006-02-21 Thread Tim Daneliuk
Warren Block wrote: On Mon, 20 Feb 2006, Tim Daneliuk wrote: In case you're interested (or anyone else listening), it seems that 'chown' likes to live in /usr/sbin - i.e., A place not in the default path. As it happens, a root cron task is trying to run a script that uses 'chown' and is thus

Re: Path And 'cron'

2006-02-21 Thread Warren Block
On Mon, 20 Feb 2006, Tim Daneliuk wrote: In case you're interested (or anyone else listening), it seems that 'chown' likes to live in /usr/sbin - i.e., A place not in the default path. As it happens, a root cron task is trying to run a script that uses 'chown' and is thus failing. I can change

Re: Path And 'cron'

2006-02-20 Thread Tim Daneliuk
Randy Pratt wrote: If I do not have a PATH= statement in a particular user's crontab, what is used for a default PATH? From "man 5 crontab" : Several environment variables are set up automatically by the cron (8) daemon. SHELL is set to /bin/sh, PATH is set to /usr/bin:/bi

Re: Path And 'cron'

2006-02-20 Thread Randy Pratt
On Mon, 20 Feb 2006 10:21:22 -0600 Tim Daneliuk <[EMAIL PROTECTED]> wrote: > Randy Pratt wrote: > > > On Sun, 19 Feb 2006 15:25:49 -0600 > > Tim Daneliuk <[EMAIL PROTECTED]> wrote: > > > > > >>Where is the default path for cron jobs established? (And can it > >>be changed...) > >> > > > > > >

Re: Path And 'cron'

2006-02-20 Thread Tim Daneliuk
Randy Pratt wrote: On Sun, 19 Feb 2006 15:25:49 -0600 Tim Daneliuk <[EMAIL PROTECTED]> wrote: Where is the default path for cron jobs established? (And can it be changed...) Take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html and see if that

Re: Path And 'cron'

2006-02-19 Thread Randy Pratt
On Sun, 19 Feb 2006 15:25:49 -0600 Tim Daneliuk <[EMAIL PROTECTED]> wrote: > Where is the default path for cron jobs established? (And can it > be changed...) > Take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html and see if that answers your questio

Re: Path And 'cron'

2006-02-19 Thread David Stanford
Tim, The default location crontabs are stored in is /var/cron/tabs//, and yes they can be edited manually. -David On 2/19/06, Tim Daneliuk <[EMAIL PROTECTED]> wrote: > > Where is the default path for cron jobs established? (And can it > be changed...) > > TIA, > -- > > --