[sllug-members]: cron job environment

Justin R Findlay justin at jfindlay.us
Fri Aug 4 14:24:52 MDT 2006


On Fri, Aug 04, 2006 at 02:21:59PM -0600, Justin R Findlay wrote:
> On Fri, Aug 04, 2006 at 12:34:05PM -0600, Shaun Kruger wrote:
> > You can answer these questions by setting MAILTO=<your email> in your
> > crontab file and putting the following in pathtest.sh:
> > echo -n "Path: "
> > echo $PATH
> 
> No need for all of that as cron will mail the environment in the form of
> mail headers.

s/environment/path/


More information about the sllug-members mailing list