RW list-freebsd-2004 at morbius.sent.com
Thu Oct 13 06:14:27 PDT 2005

On Thursday 13 October 2005 07:17, Igor Robul wrote:
> RW wrote:
> >I'm probably missing something, because I can't see what the problem is.
> >
> >crontab(5) says you can define environmental variables in a crontab; and
> > the default system crontab already has a PATH variable pre-defined,
> > although it doesn't include /usr/local/bin in the path.
> But you may not wish export PATH with /usr/local/bin to all your cron jobs.

You don't need to. Variable definitions only apply to the lines that come 
after them - and a variable may be redefined.

More information about the freebsd-questions mailing list