From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 17:21:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 120F31065672 for ; Tue, 12 Jun 2012 17:21:33 +0000 (UTC) (envelope-from lists.dan@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C0C688FC14 for ; Tue, 12 Jun 2012 17:21:32 +0000 (UTC) Received: by yhgm50 with SMTP id m50so4190844yhg.13 for ; Tue, 12 Jun 2012 10:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=gxF/OJa2gJntRyKl2gWa4lYBjbIk+bhvwZPvuO5qwuM=; b=vA+kBOXsrjlQLmI/tA6OWLu7q+BR6Cem5VnVCMZ1389oIKQQ5DuIwILhnwsNodZyp1 Dm4GXKJdrR9Ox681CWfYzG3WkKth6A9DWNEVUKMztFfoKmV3N2sDX12y42HK1slyY5ob i+KnqA/oD3NcltEmQHPMOA3VflocREEVI6oGYgBj3d39MbLXGvDeLUmybWgOW4dP132a Z/vLxAkWw45ZpECzSAa9X9ds2qS11EcE2ck2fIs9bxCsQNbq7v/y10YaoKwMPWHvkSYB 4lr7Ebk0HnkeVZH9VD3OnSwFT9Y5/2DhDzv9SVu3WpfmzP34L6zzUy5Cb/OBvqH8cwmM lSaA== MIME-Version: 1.0 Received: by 10.50.158.168 with SMTP id wv8mr9018245igb.11.1339521691824; Tue, 12 Jun 2012 10:21:31 -0700 (PDT) Received: by 10.64.82.8 with HTTP; Tue, 12 Jun 2012 10:21:31 -0700 (PDT) In-Reply-To: <20120612190629.6a45cb11.freebsd@edvax.de> References: <201206120506.q5C56L2H026673@mail.r-bonomi.com> <20120612190629.6a45cb11.freebsd@edvax.de> Date: Tue, 12 Jun 2012 12:21:31 -0500 Message-ID: From: Dan Lists To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Newbie question: Why aren't my cron jobs running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 17:21:33 -0000 On Tue, Jun 12, 2012 at 12:06 PM, Polytropon wrote: > On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote: >> On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi >> wrote: >> >> > Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) = -- >> > you >> > are *strongly* encocuraged to remove them. =A0Yes, that means numbers = will >> > not >> > be column aligned, but it is a small price to pay to avoid the >> > hair-tearing >> > that =3Dwill=3D ensue when using it bites you. >> >> Any other info on this? I've never heard of this before and I've never >> seen an issue using leading zeroes on the minutes value. > > There are some "specific interpretations" that _may_ be > interpreted according to the C rules, e. g. prefix 0x- > for hexadecimal or 08- for octal notation. For example, > 083 !=3D 83, just as 0x83 !=3D 83. As it has been mentioned, > spaces also have a significant meaning in crontabs, so > they cannot be used everywhere to align data columns. > The syntax of his crontab file is correct. Vixie cron does care about leading spaces, tabs, extra spaces, or leading zeros. Earlier versions of cron are much pickier about the crontab file. The cron logs show that it is starting his jobs at the correct times. It is far more likely that there is a problem with the scripts. A very common cause of problems with scripts run from cron is that they do not inherit your environment. Do the scripts run from the command line? If the do, then the problem is most likely something in your environment that the scripts need.