Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2015 13:31:04 -0700
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: cron/python3: python script acts weird, no debug output
Message-ID:  <CAG=rPVdm2adCZdD4OvfVxr0iWuyD2VPV4nLi-rXhtDC34On4uw@mail.gmail.com>
In-Reply-To: <20150821172026.27b65c40@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20150821172026.27b65c40@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 21, 2015 at 8:20 AM, O. Hartmann <ohartman@zedat.fu-berlin.de>
wrote:

> When the job is run from cron, the situation changes dramatically. The
> setup is
> like this:
>
> SHELL=/bin/sh
> TZ=Europe/Berlin
> MAILTO=""
> PATH=/usr/local/bin:/usr/local/sbin:${PATH}
>
                                                           ^^^^^^^^^
The line which specifies PATH is wrong in your crontab.  See:
https://lists.freebsd.org/pipermail/freebsd-python/2015-June/008384.html

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVdm2adCZdD4OvfVxr0iWuyD2VPV4nLi-rXhtDC34On4uw>