cron/python3: python script acts weird, no debug output

Craig Rodrigues rodrigc at crodrigues.org
Fri Aug 21 20:31:06 UTC 2015


On Fri, Aug 21, 2015 at 8:20 AM, O. Hartmann <ohartman at 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


More information about the freebsd-current mailing list