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

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Fri, 21 Aug 2015 13:31:04 -0700
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
Received on Fri Aug 21 2015 - 18:31:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC