From owner-freebsd-current@freebsd.org Fri Aug 21 20:31:06 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1648A9BF7A8 for ; Fri, 21 Aug 2015 20:31:06 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAFC31876 for ; Fri, 21 Aug 2015 20:31:05 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykfw73 with SMTP id w73so82243816ykf.3 for ; Fri, 21 Aug 2015 13:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=WAEhEEscU/j5pVCG7mRXFaQa4LpjySv5Ds/9eQ+Hz5Q=; b=m7sZ13fdQV4+r+Vkh22scyf8Y/lgSCcN6G2pzses1VPMazpWkVFyZRGQfj/e25qsdW prHkU4Hm68xg99ZMlrukl/BSSj4GBEblkqqlnGkhDJHHX3BYlgEMI20RDTIoMmFTNkQE 2TzgLIq0FwDOf8i2HO6pyYFY0ivg3wQ0bQSbzsLw45n5W/kiSHaMM5tHAhvv6Yc9PPjg Aa2J8Voo8Ci6ibgGy16llK041fhjd12V//uIp7YZDLb/rpOsc9TqpdEKA3Kix5XIyhOZ UUYRIbqj2ORCIsSTuUfBvk4+aeQSVPdR8GN0ZAQyrJQFnaS5Bxo6YZ3WdwZdRoswmFk6 Qr2Q== MIME-Version: 1.0 X-Received: by 10.129.81.194 with SMTP id f185mr14594804ywb.41.1440189064817; Fri, 21 Aug 2015 13:31:04 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.37.99.3 with HTTP; Fri, 21 Aug 2015 13:31:04 -0700 (PDT) In-Reply-To: <20150821172026.27b65c40@freyja.zeit4.iv.bundesimmobilien.de> References: <20150821172026.27b65c40@freyja.zeit4.iv.bundesimmobilien.de> Date: Fri, 21 Aug 2015 13:31:04 -0700 X-Google-Sender-Auth: iPPc3gJ7KkVoF7CzDKnorveJXpc Message-ID: Subject: Re: cron/python3: python script acts weird, no debug output From: Craig Rodrigues To: "O. Hartmann" Cc: freebsd-current X-Mailman-Approved-At: Fri, 21 Aug 2015 20:56:07 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2015 20:31:06 -0000 On Fri, Aug 21, 2015 at 8:20 AM, O. Hartmann 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