Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 14:39:13 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Software Info <softwareinfojam@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Crontab Question
Message-ID:  <20190410213913.GS1185@albert.catwhisker.org>
In-Reply-To: <5cae6179.1c69fb81.12661.3a08@mx.google.com>
References:  <5cae4e6f.1c69fb81.95785.62bf@mx.google.com> <CAJuc1zNRcG5WaZ4weC=TNLuXCfT=oxMtismm%2B6apWXEtJZhH3A@mail.gmail.com> <5cae5cc3.1c69fb81.15e0.dbd1@mx.google.com> <CAJuc1zNdGBRWcdjwdOw%2BU7bqChRcFPqnKpS-kskhnpHvN=2d%2BA@mail.gmail.com> <5cae6179.1c69fb81.12661.3a08@mx.google.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Apr 10, 2019 at 04:34:49PM -0500, Software Info wrote:
> I see. I had however copied the output of env to the etc/crontab PATH line. Wouldn’t that care for an environment issue though?
> 
> 
> Regards
> SI
> ....

The execution search path has no (direct) bearing on the current working
directory (and vice versa).

Your script cannot assume any particular current working directory.  If
you need to set it, do so (in the script itself).

Peace,
david
-- 
David H. Wolfskill				david@catwhisker.org
"The President is a coward." -- Kirsten Gillibrand

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAlyuYoFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
Pcl3NQf/eJgtQefmLtGaM7fG3N0bhGRyqDyVWdCHNMA3o4lQUecjHM6IP22Y7UJs
8a+j37pFimsd8KulY2H0LrkzXj4JlCBdIA8Y5V7UdKVSF4vvupynm5OW3fg1yvXq
Kgj41JKqJ/SRRiv5AKBtOgJUXdAfQN5315/vgvWZnlcoQMl4vV/Nmo0gEs4i8+tK
MsJ0KLebd7FKjqeZpCgdlTNKXL18FqhZ8Q+2CFsQygLeH48C8AuC3VZHxwne02eX
XSQeOCfR/jmWKdG7xyLwPk3l62aH+GR3h/nZ8el2ARmN/7cXY1QQ0DniD5SId2Tw
/Eq3tmp/yuNYi1p3exMbjoX7aE9GAA==
=cjip
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190410213913.GS1185>