Shell scripting woes.
Jan.Grant at bristol.ac.uk
Thu Feb 26 03:01:46 PST 2004
On Wed, 25 Feb 2004, Mathias Haas wrote:
> Oh my! What stupidity! Of course. I'm afraid sometimes my DOS-roots are
> revealed... Thanks!
In general, you ought to be aware that cron sets up only a minimal
environment. If you want your scripts to run predictably then you
probably ought to ensure the first thing they do is to recreate the
environment you're after: setting $PATH, the working directory, umask,
and so on.
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Boycott Arabic numerals! What have they ever done for us?
More information about the freebsd-questions