From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 12:16:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51F19106564A for ; Tue, 12 Jun 2012 12:16:03 +0000 (UTC) (envelope-from ramirocaso08@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 076BF8FC16 for ; Tue, 12 Jun 2012 12:16:02 +0000 (UTC) Received: by yenl8 with SMTP id l8so3783657yen.13 for ; Tue, 12 Jun 2012 05:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AefS+xOdP8yLdTBzHJn8e4KbqhpI12VkRgc+XUCBfKg=; b=KHZvKY90IopEf1MmVN4jgVvfFh+Fq4l9ImXXa01NYIJJplssnzViR+hRVC2t7KVNhY 9jisei9DLvXzKDC1RjxVg1kizh1hqWZFSsN7CDHp56IFI7AaMkmwE6ZkoQxCq8xo54T1 jXdYza/tTk+O6QC+v9V0YIY/V1HRcNPQ19CetYUQ/eTRFMtkeqIqfzc2EdLpB9Yaez1d 28t2oOOwKKrfa/ErTv7AJN/1nVmdDGGiZ/RbIM4Q86BVJ0xVUlyDb/YtYhpVAUqNKIHl 21wsMnBfWOYimc0rSeiR8weToAYAjlCjVSm9b/hgpbcatwbXV7/DjYqwd4Fp2nDHeqaD rOPg== Received: by 10.236.78.105 with SMTP id f69mr26270181yhe.15.1339503362058; Tue, 12 Jun 2012 05:16:02 -0700 (PDT) Received: from [192.168.1.104] ([186.22.171.89]) by mx.google.com with ESMTPS id u6sm4818928anl.1.2012.06.12.05.16.00 (version=SSLv3 cipher=OTHER); Tue, 12 Jun 2012 05:16:01 -0700 (PDT) Message-ID: <4FD732FF.4020404@gmail.com> Date: Tue, 12 Jun 2012 09:15:59 -0300 From: Ramiro Caso User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120612 Thunderbird/13.0 MIME-Version: 1.0 To: Michael Sierchio References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Walter Hurry 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 12:16:03 -0000 On 11/06/2012 23:10, Michael Sierchio wrote: > On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry wrote: >> As the subject says, this is probably a newbie question (I am new to >> FreeBSD but quite experienced at Linux). >> >> FreeBSD9 on x86_64. >> >> Cron is running: >> >> $ ps -ax|grep cron >> >> 1513 ?? Is 0:00.01 /usr/sbin/cron -s >> >> 2283 0 S+ 0:00.00 grep cron >> >> $ >> >> I have a syntactically valid crontab: >> >> $ crontab -l >> #min hr dom month dow command >> >> SHELL=/bin/bash Pitfall: Even if bash is installed, it's not usually under /bin, but under /usr/local/bin >> >> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ >> daddy/bin >> >> HOME=/home/walterh >> >> 00 02 * * * /home/walterh/exports.sh >> >> 05 02 * * * /home/walterh/backup_etc.sh >> >> 10 02 * * * /home/walterh/systemcheck.sh >> >> 15 02 * * * /home/walterh/backup_bsd.sh >> >> $ >> >> So what is wrong? Why is nothing happening? I have consulted the handbook >> but see nothing. > Have you installed bash? It's not in the system base. > > What's in your shell scripts? > > - M > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"