From owner-freebsd-questions@FreeBSD.ORG Wed Oct 4 10:24:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF66016A494 for ; Wed, 4 Oct 2006 10:24:22 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EA7243D66 for ; Wed, 4 Oct 2006 10:24:19 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail3.panix.com (Postfix) with ESMTP id 0CCF313A888; Wed, 4 Oct 2006 06:24:12 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id 6CECC116AA22; Wed, 4 Oct 2006 06:23:40 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GV3ud-0005XU-00; Wed, 04 Oct 2006 06:23:39 -0400 Date: Wed, 4 Oct 2006 06:23:39 -0400 From: stan To: Philip Hallstrom Message-ID: <20061004102339.GB20990@teddy.fas.com> Mail-Followup-To: Philip Hallstrom , Free BSD Questions list References: <20061004000523.GA5229@teddy.fas.com> <20061003232147.R65965@bravo.pjkh.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061003232147.R65965@bravo.pjkh.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 06:20:02 up 170 days, 7:22, 1 user, load average: 0.08, 0.02, 0.01 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Free BSD Questions list Subject: Re: Strange cron behavior 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: Wed, 04 Oct 2006 10:24:22 -0000 On Tue, Oct 03, 2006 at 11:22:29PM -0500, Philip Hallstrom wrote: > >I'm having a hard time getting cron to run a task. I've run crontab -e > >(as root), and added the following line: > > > >12 * * * * /usr/local/bin/mirror_ubuntu > > > >This script runs from teh command line. Now I've seen plenty of > >strange beahviour because of the limited environment cron tasks > >get, but a basic "echo "test" >> /tmp/stan isn't even creating > >the file. > > > >Sugestions? > > Is the cron daemon running? What is the output in /var/log/cron? Forgot to mention that. Yhe script does get listed in /var/log/cron as having been invoked. -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)